-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
feat: expose app accessibility transparency settings api #39631
feat: expose app accessibility transparency settings api #39631
Conversation
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.
API LGTM
29afcd0
to
8b68f32
Compare
failing tests seem to be flakes |
API LGTM |
f86cf55
to
ed92e6a
Compare
0fef536
to
ea0657f
Compare
ea0657f
to
665d3ec
Compare
443d816
to
b276606
Compare
Release Notes Persisted
|
I was unable to backport this PR to "26-x-y" cleanly; |
I was unable to backport this PR to "27-x-y" cleanly; |
* feat: expose app accessibility transparency settings api * docs: fix typo * chore: add doc * change to property * add as property instead of method * chore: fix lint * rename function name in header --------- Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
@georgexu99 has manually backported this PR to "26-x-y", please check out #40073 |
* feat: expose app accessibility transparency settings api * docs: fix typo * chore: add doc * change to property * add as property instead of method * chore: fix lint * rename function name in header --------- Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
@georgexu99 has manually backported this PR to "27-x-y", please check out #40074 |
feat: expose app accessibility transparency settings api (#39631) * feat: expose app accessibility transparency settings api * docs: fix typo * chore: add doc * change to property * add as property instead of method * chore: fix lint * rename function name in header --------- Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
Description of Change
Exposes an api that reads the System Preferences to determine whether the app avoids using semitransparent backgrounds. If the property is TRUE, don't use use semitransparent backgrounds in the UI.
This setting can be changed by choosing System Preferences > Accessibility > Display and selecting "Reduce transparency".
Checklist
npm test
passesRelease Notes
Notes: Added API to allow apps to determine whether to avoid using semitransparent backgrounds.