TDKCandidates // Patch default font sizes.

This commit is contained in:
ShikiSuen 2022-10-10 11:39:02 +08:00
parent a144e20304
commit c93de3c8ed
1 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,9 @@ open class CtlCandidate: NSWindowController, CtlCandidateProtocol {
fatalError("init(coder:) has not been implemented") fatalError("init(coder:) has not been implemented")
} }
open var candidateFont = NSFont.systemFont(ofSize: 18) open var candidateFont = NSFont.systemFont(
ofSize: min(196, max(12, Double(UserDefaults.standard.integer(forKey: "CandidateListTextSize"))))
)
@discardableResult open func showNextLine() -> Bool { @discardableResult open func showNextLine() -> Bool {
false false