TDKCandidates // Use Courier New for selection keys on old OS.

This commit is contained in:
ShikiSuen 2023-12-27 14:53:29 +08:00
parent d8e72674d7
commit a845dae62b
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class CandidateCellData: Hashable {
if #available(macOS 10.15, *) { if #available(macOS 10.15, *) {
return NSFont.monospacedSystemFont(ofSize: fontSizeKey, weight: .regular) return NSFont.monospacedSystemFont(ofSize: fontSizeKey, weight: .regular)
} }
return NSFont(name: "Menlo", size: size) ?? phraseFont(size: size) return NSFont(name: "Courier New", size: size) ?? phraseFont(size: size)
} }
func phraseFont(size: CGFloat? = nil) -> NSFont { func phraseFont(size: CGFloat? = nil) -> NSFont {