SessionCtl // Bind alwaysExpandCandidateWindow().
This commit is contained in:
parent
7af6eb7cfb
commit
755026ded6
|
@ -81,6 +81,7 @@ extension SessionCtl: CtlCandidateDelegate {
|
|||
public var isCandidateState: Bool { state.isCandidateContainer }
|
||||
|
||||
public var shouldAutoExpandCandidates: Bool {
|
||||
guard !PrefMgr.shared.alwaysExpandCandidateWindow else { return true }
|
||||
guard state.type == .ofSymbolTable else { return state.type == .ofAssociates }
|
||||
return state.node.previous != nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue