Skip to content
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

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

shuang886
Copy link
Contributor

  • rounded rectangles
  • honor light/dark modes
Screenshot 2023-11-22 at 7 29 09 PM Screenshot 2023-11-22 at 7 28 55 PM
Screenshot 2023-11-22 at 7 35 24 PM Screenshot 2023-11-22 at 7 35 14 PM

intended to fix #310

Copy link
Contributor

@lukhnos lukhnos left a 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
Copy link
Contributor

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.

@lukhnos lukhnos merged commit e56782f into openvanilla:master Nov 23, 2023
@shuang886
Copy link
Contributor Author

@lukhnos Please reopen the PR and pick up 63ef41b

lukhnos added a commit that referenced this pull request Nov 23, 2023
…-look

Restore PR #383 "update the look of the candidate sheet" with an additional fix
lukhnos added a commit that referenced this pull request Nov 27, 2023
This makes sure that, after the recent UI overhaul (PR #385, #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.
lukhnos added a commit that referenced this pull request Nov 27, 2023
This makes sure that, after the recent UI overhaul (PR #385, #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.
zonble pushed a commit to zonble/McBopomofo that referenced this pull request Nov 28, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[功能建議] 選字功能列表更新
2 participants