gnome-shell/subprojects/extensions-app/js
Florian Müllner 28407c95b3 extensions-app: Reset switch handle when it becomes insensitive
Currently the switches handle position reflects the requested
extension state (as in: the user (de)activated the switch),
while the actual extension state is reflected by the underlying
state.

That doesn't work well when the switch is insensitive though (for
example on error), because the desaturation neuters the color
that reflects the state.

Address this by resetting the switch handle to the state when
making it insensitive.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1263


(cherry picked from commit d2583aa47b)
2020-05-21 21:43:35 +00:00
..
misc extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
gnome-extensions-app.in extensions-app: Rename executable 2020-04-30 00:57:27 +02:00
main.js extensions-app: Reset switch handle when it becomes insensitive 2020-05-21 21:43:35 +00:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
org.gnome.Extensions.in extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
org.gnome.Extensions.src.gresource.xml extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00