Always execute actions of toggleable buttons

This commit is contained in:
Username404-59 2021-05-01 19:38:21 +02:00
parent ee163fe312
commit 8a65839816
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class ClickButton(
if (!toggled) lightUp() else lightDown()
if ((kind == Type.TOGGLE)) {
toggled = !toggled
if (toggled) execAction()
execAction()
}
}
}