ctlIME // Reset keyLayout when IME Menu presents.

This commit is contained in:
ShikiSuen 2022-03-26 00:27:57 +08:00
parent 4a0bd35c24
commit f3b8f1a998
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ class ctlInputMethod: IMKInputController {
if optionKeyPressed { if optionKeyPressed {
menu.addItem(withTitle: NSLocalizedString("Reboot vChewing…", comment: ""), action: #selector(selfTerminate(_:)), keyEquivalent: "") menu.addItem(withTitle: NSLocalizedString("Reboot vChewing…", comment: ""), action: #selector(selfTerminate(_:)), keyEquivalent: "")
} }
// NSMenu modified key
setKeyLayout(isfunctionKeyboardLayout: false)
return menu return menu
} }