Skip to content

Commit

Permalink
Fix ctrl+c in chat window
Browse files Browse the repository at this point in the history
  • Loading branch information
onoderis committed Feb 11, 2019
1 parent 2baea5e commit eefe054
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/kotlin/failchat/gui/ChatFrame.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eefe054

Please sign in to comment.