locatePointer: Mark the animation as required
When the accessibility option "Reduce Animation" is turned on, the accessibility option "Locate Pointer" stops to work. This is because the animation is not marked as required. Mark it as such. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
This commit is contained in:

committed by
Marge Bot

parent
fc7e2bc65b
commit
31509e55ca
@ -18,7 +18,7 @@ export class LocatePointer {
|
||||
return;
|
||||
|
||||
if (enabled) {
|
||||
this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location');
|
||||
this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location', true);
|
||||
this._ripples.addTo(Main.uiGroup);
|
||||
} else {
|
||||
this._ripples.destroy();
|
||||
|
Reference in New Issue
Block a user