Fix propagationCancelled check
This commit is contained in:
@@ -202,7 +202,7 @@ class PaletteStudio(
|
|||||||
|
|
||||||
private fun registerKeybindings(keyboard: Keyboard) {
|
private fun registerKeybindings(keyboard: Keyboard) {
|
||||||
keyboard.keyDown.listen {
|
keyboard.keyDown.listen {
|
||||||
if (it.propagationCancelled) {
|
if (!it.propagationCancelled) {
|
||||||
if (it.name == "$randomPaletteKey") {
|
if (it.name == "$randomPaletteKey") {
|
||||||
randomPalette()
|
randomPalette()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user