Always execute actions of toggleable buttons
This commit is contained in:
parent
ee163fe312
commit
8a65839816
|
@ -42,7 +42,7 @@ class ClickButton(
|
|||
if (!toggled) lightUp() else lightDown()
|
||||
if ((kind == Type.TOGGLE)) {
|
||||
toggled = !toggled
|
||||
if (toggled) execAction()
|
||||
execAction()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue