mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
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>
This commit is contained in:
@@ -382,8 +382,6 @@ if (process.platform === 'darwin') {
|
||||
// @ts-expect-error Removed API
|
||||
systemPreferences.setAppLevelAppearance('dark');
|
||||
// @ts-expect-error Removed API
|
||||
console.log(systemPreferences.appLevelAppearance);
|
||||
// @ts-expect-error Removed API
|
||||
console.log(systemPreferences.getColor('alternate-selected-control-text'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user