SessionCtl // Also debug-print the client when state changes.
This commit is contained in:
parent
b401556ff0
commit
940e9b6d85
|
@ -64,7 +64,7 @@ class SessionCtl: IMKInputController {
|
||||||
var state: IMEStateProtocol = IMEState.ofEmpty() {
|
var state: IMEStateProtocol = IMEState.ofEmpty() {
|
||||||
didSet {
|
didSet {
|
||||||
guard oldValue.type != state.type else { return }
|
guard oldValue.type != state.type else { return }
|
||||||
vCLog("Current State: \(state.type.rawValue)")
|
vCLog("Current State: \(state.type.rawValue), client: \(clientBundleIdentifier)")
|
||||||
// 因鍵盤訊號翻譯機制存在,故禁用下文。
|
// 因鍵盤訊號翻譯機制存在,故禁用下文。
|
||||||
// guard state.isCandidateContainer != oldValue.isCandidateContainer else { return }
|
// guard state.isCandidateContainer != oldValue.isCandidateContainer else { return }
|
||||||
// if state.isCandidateContainer || oldValue.isCandidateContainer { setKeyLayout() }
|
// if state.isCandidateContainer || oldValue.isCandidateContainer { setKeyLayout() }
|
||||||
|
|
Loading…
Reference in New Issue