Auto set brighter sliders on Adwaita dark only

This commit is contained in:
Rafał Dzięgiel
2021-03-24 21:16:41 +01:00
parent b404eb2f56
commit 4a60e01131
5 changed files with 19 additions and 37 deletions

View File

@@ -329,9 +329,7 @@ class ClapperTweaksPage extends PrefsBase.Grid
super._init();
this.addTitle('Appearance');
const darkCheck = this.addCheckButton('Enable dark theme', 'dark-theme');
const brighterCheck = this.addCheckButton('Make sliders brighter', 'brighter-sliders');
darkCheck.bind_property('active', brighterCheck, 'visible', GObject.BindingFlags.SYNC_CREATE);
this.addCheckButton('Enable dark theme', 'dark-theme');
this.addTitle('Performance');
this.addCheckButton('Render window shadows', 'render-shadows');