Use some modern APIs and fix warnings on the latest macOS SDK

This commit is contained in:
Damiano Galassi committed 2026-09-22 16:10:37 +02:00
1 parent beb7774761
commit 17c7d67b96
14 files changed
+254 -156

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ final class TokenFieldCell : NSTokenFieldCell {
set (newBackgroundStyle) {
super.backgroundStyle = newBackgroundStyle
if newBackgroundStyle == NSView.BackgroundStyle.emphasized {
textColor = NSColor.controlHighlightColor
textColor = NSColor.highlightColor
} else {
textColor = NSColor.controlTextColor
}