switch: Add hover styles
Same as checkboxes. Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6455 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2717>
This commit is contained in:

committed by
Florian Müllner

parent
259eaa9bbb
commit
cca34af31e
@ -343,6 +343,7 @@ export const Switch = GObject.registerClass({
|
||||
super._init({
|
||||
style_class: 'toggle-switch',
|
||||
accessible_role: Atk.Role.CHECK_BOX,
|
||||
track_hover: true,
|
||||
});
|
||||
|
||||
const box = new St.BoxLayout({
|
||||
|
Reference in New Issue
Block a user