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