IMKCandidates // Upgrade visible().

This commit is contained in:
ShikiSuen 2022-10-10 15:23:59 +08:00
parent 970174117e
commit 81feeb341c
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@ public class CtlCandidateIMK: IMKCandidates, CtlCandidateProtocol {
}
}
public var visible = false { didSet { visible ? show() : hide() } }
public var visible: Bool {
get { isVisible() }
set { newValue ? show() : hide() }
}
public var windowTopLeftPoint: NSPoint {
get {