SessionCtl // Change the condition of areWeNerfing().
This commit is contained in:
parent
164366d8fa
commit
41339a1c61
|
@ -140,7 +140,7 @@ public extension SessionCtl {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 準備修飾鍵,用來判定要新增的詞彙是否需要賦以非常低的權重。
|
// 準備修飾鍵,用來判定要新增的詞彙是否需要賦以非常低的權重。
|
||||||
Self.areWeNerfing = eventToDeal.modifierFlags.contains([.shift, .command])
|
Self.areWeNerfing = eventToDeal.modifierFlags == [.shift, .command]
|
||||||
|
|
||||||
/// 直接交給 commonEventHandler 來處理。
|
/// 直接交給 commonEventHandler 來處理。
|
||||||
let result = inputHandler.handleEvent(eventToDeal)
|
let result = inputHandler.handleEvent(eventToDeal)
|
||||||
|
|
Loading…
Reference in New Issue