-
Notifications
You must be signed in to change notification settings - Fork 79
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
update the look of the candidate sheet #383
Conversation
- rounded rectangles - honor light/dark modes
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.
Thank you for making this visual upgrade!
NSColor.selectedControlColor.setFill() | ||
} | ||
NSBezierPath.fill(candidateRect) | ||
activeCandidateAttr[.foregroundColor] = NSColor.white |
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.
No action needed, just wanted to add a note here. I was wondering why this has to be .white
instead of .selectedControlTextColor
, and then after I tried this I found the latter could cause the text contrast to be too low in the Light theme (as selected contorl text color is very dark). This LGTM.
Packages/CandidateUI/Sources/CandidateUI/HorizontalCandidateController.swift
Show resolved
Hide resolved
…-look Restore PR #383 "update the look of the candidate sheet" with an additional fix
This makes sure that, after the recent UI overhaul (PR openvanilla#385, openvanilla#383), we now honor the "Scroll bar behavior" settings in System Preferences > Appearance. This also fixes the problem with the .legacy style: that the scroll bar is always visible and always gets in the highlighted item.
intended to fix #310