mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2024-06-13 07:44:50 +12:00
Improve keyfile tooltip
This commit is contained in:
parent
21ccd93c51
commit
1c3abd8ee4
|
@ -419,7 +419,12 @@ func draw() {
|
||||||
modalId++
|
modalId++
|
||||||
giu.Update()
|
giu.Update()
|
||||||
}),
|
}),
|
||||||
giu.Tooltip("Manage keyfiles to use for encryption."),
|
giu.Tooltip("Manage keyfiles to use for "+(func() string {
|
||||||
|
if mode != "decrypt" {
|
||||||
|
return "encryption."
|
||||||
|
}
|
||||||
|
return "decryption."
|
||||||
|
}())),
|
||||||
|
|
||||||
giu.Style().SetDisabled(mode == "decrypt").To(
|
giu.Style().SetDisabled(mode == "decrypt").To(
|
||||||
giu.Button("Create").Size(54, 0).OnClick(func() {
|
giu.Button("Create").Size(54, 0).OnClick(func() {
|
||||||
|
|
Loading…
Reference in a new issue