-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Update highlight of sidebar tab buttons so they all match (fixes issue #4332) #4378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… the styling of Quick Settings tabs
Update: found a case which I missed, where the Playlist was displayed in Music Mode right after starting IINA. Fixed in the latest commit. |
For me the Playlist and Chapters tabs do not match. Looks like the Playlist font is bold and Chapters isn't? |
Good catch. Made another commit to address this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulled PR, built, tested, looks good to me.
iina/ExtendedColors.swift
Outdated
@@ -36,3 +36,9 @@ extension NSColor.Name { | |||
static let sidebarTabTint = NSColor.Name("SidebarTabTint") | |||
static let sidebarTabTintActive = NSColor.Name("SidebarTabTintActive") | |||
} | |||
|
|||
@available(OSX 10.14, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@available(OSX 10.14, *) | |
@available(macOS 10.14, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in latest commit
Thanks! |
Description:
Analysis: For newer versions of MacOS (10.14+), the 3 Quick Settings tab buttons are displayed all in bold, and the active tab's button text tint is set to pure black. However, the Playlist & Chapters tabs were following (what looks like) an older scheme: the active tab was bold, and the other tab was not bold; neither had a special tint. (The Quick Settings tabs fall back to this behavior for older versions of MacOS).
This update changes Playlist & Chapters so that they match the behavior of the other three