SessionCtl // Force updateVerticalTypingStatus() when needed.
This commit is contained in:
parent
b439b2ce93
commit
5b117a4c3d
|
@ -46,6 +46,7 @@ extension SessionCtl {
|
||||||
tooltipInstance.hide()
|
tooltipInstance.hide()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
updateVerticalTypingStatus()
|
||||||
let lineHeightRect = lineHeightRect()
|
let lineHeightRect = lineHeightRect()
|
||||||
var finalOrigin: NSPoint = lineHeightRect.origin
|
var finalOrigin: NSPoint = lineHeightRect.origin
|
||||||
let delta: Double = lineHeightRect.size.height + 4.0 // bottomOutOfScreenAdjustmentHeight
|
let delta: Double = lineHeightRect.size.height + 4.0 // bottomOutOfScreenAdjustmentHeight
|
||||||
|
|
|
@ -84,6 +84,7 @@ extension SessionCtl {
|
||||||
}
|
}
|
||||||
// 浮動組字窗的顯示判定
|
// 浮動組字窗的顯示判定
|
||||||
if newState.hasComposition, PrefMgr.shared.clientsIMKTextInputIncapable.contains(clientBundleIdentifier) {
|
if newState.hasComposition, PrefMgr.shared.clientsIMKTextInputIncapable.contains(clientBundleIdentifier) {
|
||||||
|
updateVerticalTypingStatus()
|
||||||
popupCompositionBuffer.isTypingDirectionVertical = isVerticalTyping
|
popupCompositionBuffer.isTypingDirectionVertical = isVerticalTyping
|
||||||
popupCompositionBuffer.show(
|
popupCompositionBuffer.show(
|
||||||
state: newState, at: lineHeightRect(zeroCursor: true).origin
|
state: newState, at: lineHeightRect(zeroCursor: true).origin
|
||||||
|
|
Loading…
Reference in New Issue