Hide the actions toolbar item indicator on macOS 26

This commit is contained in:
Damiano Galassi committed 2025-09-18 15:41:49 +02:00
1 parent 6e9be6c89e
commit 56a424ca7e
1 file changed
+1
+1
View File
@@ -90,6 +90,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
item.paletteLabel = label
item.toolTip = NSLocalizedString("Perform tasks with the selected items", comment: "Toolbar")
if #available(macOS 26.0, *) {
item.showsIndicator = false
item.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
} else if #available(macOS 26.0, *) {
item.image = NSImage.init(systemSymbolName: "ellipsis.circle", accessibilityDescription: nil)