SessionCtl // Clear tooltip when necessary.

This commit is contained in:
ShikiSuen 2022-10-19 09:33:02 +08:00
parent d1bd34ee43
commit 6060cc4fbf
1 changed files with 6 additions and 0 deletions

View File

@ -134,6 +134,12 @@ extension SessionCtl {
/// commonEventHandler
let result = inputHandler.handleEvent(eventToDeal)
if shouldUseShiftToggleHandle { rencentKeyHandledByInputHandlerEtc = result }
if !result {
// .ofMarking
if [.ofEmpty].contains(state.type) {
tooltipInstance.hide()
}
}
return result
}
}