If you have an issue with any of our projects. feel free to register.

Commit dca9655c authored by Christopher Snowhill's avatar Christopher Snowhill

Fixed toolbar buttons on 10.15 and older, and fixed the Preferences dialog on...

Fixed toolbar buttons on 10.15 and older, and fixed the Preferences dialog on Big Sur and potentially newer.
parent 44e7e85a
This diff is collapsed.
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.arrow.down.right.and.arrow.up.left.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.arrow.up.backward.and.arrow.down.forward.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.backward.svg",
"idiom" : "universal"
}
]
}
This diff is collapsed.
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.folder.svg",
"idiom" : "universal"
}
]
}
This diff is collapsed.
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.forward.svg",
"idiom" : "universal"
}
]
}
This diff is collapsed.
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.info.circle.svg",
"idiom" : "universal"
}
]
}
This diff is collapsed.
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.questionmark.diamond.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.speaker.slash.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.speaker.svg",
"idiom" : "universal"
}
]
}
This diff is collapsed.
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.speaker.wave.1.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.speaker.wave.2.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.speaker.wave.3.svg",
"idiom" : "universal"
}
]
}
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "sf.stop.svg",
"idiom" : "universal"
}
]
}
This diff is collapsed.
......@@ -43,6 +43,9 @@
[self setShowsToolbarButton: NO];
[self setShowsResizeIndicator:NO];
[self center];
if (@available(macOS 11, *)) {
[self setToolbarStyle:NSWindowToolbarStylePreference];
}
[self createToolbar];
}
......
......@@ -46,18 +46,10 @@ static NSString *PlaybackButtonsPlaybackStatusObservationContext = @"PlaybackBut
NSImage *image = nil;
if (playbackStatus == kCogStatusPlaying) {
if (@available(macOS 11, *)) {
image = [NSImage imageWithSystemSymbolName:@"pause" accessibilityDescription:@"pause"];
} else {
image = [NSImage imageNamed:@"sf.pause"];
}
image = [NSImage imageNamed:@"sf.pause"];
}
else {
if (@available(macOS 11, *)) {
image = [NSImage imageWithSystemSymbolName:@"play" accessibilityDescription:@"play"];
} else {
image = [NSImage imageNamed:@"sf.play"];
}
image = [NSImage imageNamed:@"sf.play"];
}
[self setImage:image forSegment:1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment