SessionCtl // Bind legacyCandidateViewTypesettingMethodEnabled.
This commit is contained in:
parent
777870a1d3
commit
95b53ac082
|
@ -134,6 +134,12 @@ public extension SessionCtl {
|
|||
}
|
||||
}
|
||||
|
||||
if #available(macOS 10.15, *) {
|
||||
if let ctlCandidateCurrent = candidateUI as? CtlCandidateTDK {
|
||||
ctlCandidateCurrent.isLegacyMode = PrefMgr.shared.legacyCandidateViewTypesettingMethodEnabled
|
||||
}
|
||||
}
|
||||
|
||||
candidateUI?.delegate = self // 會自動觸發田所選字窗的資料重載。
|
||||
candidateUI?.visible = true
|
||||
|
||||
|
|
Loading…
Reference in New Issue