diff --git a/src/main/kotlin/failchat/gui/ChatFrame.kt b/src/main/kotlin/failchat/gui/ChatFrame.kt index 849f7e73..14b5a3cd 100644 --- a/src/main/kotlin/failchat/gui/ChatFrame.kt +++ b/src/main/kotlin/failchat/gui/ChatFrame.kt @@ -256,6 +256,10 @@ class ChatFrame( // hot keys chatScene.setOnKeyReleased { key -> + if (key.isControlDown || key.isAltDown || key.isShiftDown || key.isMetaDown) { + return@setOnKeyReleased + } + when (key.code) { switchDecorationsKey -> switchDecorations() onTopKey -> onTopItem.isSelected = toggleOnTop()