SessionCtl_Menu // Remove UOM data of all input modes instead.

This commit is contained in:
ShikiSuen 2023-02-14 11:39:39 +08:00
parent dc75148c8c
commit af386b25c8
1 changed files with 2 additions and 6 deletions

View File

@ -407,17 +407,13 @@ public extension SessionCtl {
@objc func removeUnigramsFromUOM(_: Any? = nil) {
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode)
if NSEvent.modifierFlags.contains(.option) {
LMMgr.removeUnigramsFromUserOverrideModel(IMEApp.currentInputMode.reversed)
}
}
@objc func clearUOM(_: Any? = nil) {
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode)
if NSEvent.modifierFlags.contains(.option) {
LMMgr.clearUserOverrideModelData(IMEApp.currentInputMode.reversed)
}
}
@objc func showAbout(_: Any? = nil) {
CtlAboutWindow.show()