mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
fix sensitive change of grid_dot_color_unfocused
This commit is contained in:
1
prefs.js
1
prefs.js
@@ -836,6 +836,7 @@ const Preferences = class {
|
|||||||
});
|
});
|
||||||
this._builder.get_object('dot_color_override_switch').connect('state-set', (widget) => {
|
this._builder.get_object('dot_color_override_switch').connect('state-set', (widget) => {
|
||||||
if (widget.get_active()) this._settings.set_boolean('dot-color-dominant', false);
|
if (widget.get_active()) this._settings.set_boolean('dot-color-dominant', false);
|
||||||
|
else if (this._window) this._settings.set_boolean('dot-color-unfocused-different', false);
|
||||||
});
|
});
|
||||||
|
|
||||||
this._settings.bind('dot-color-unfocused-different',
|
this._settings.bind('dot-color-unfocused-different',
|
||||||
|
|||||||
@@ -207,7 +207,6 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<!-- TODO sensitivity of this group has to be connected to dot_color_override_switch -->
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwPreferencesGroup" id="grid_dot_color_unfocused">
|
<object class="AdwPreferencesGroup" id="grid_dot_color_unfocused">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user