locatePointer: Use constant for GSettings key
The constant is defined, so use it. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
This commit is contained in:
parent
6970f43e66
commit
5f3bad9c94
@ -15,7 +15,7 @@ var LocatePointer = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show() {
|
show() {
|
||||||
if (!this._settings.get_boolean("locate-pointer"))
|
if (!this._settings.get_boolean(LOCATE_POINTER_KEY))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let [x, y, mods] = global.get_pointer();
|
let [x, y, mods] = global.get_pointer();
|
||||||
|
Loading…
Reference in New Issue
Block a user