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:
Florian Müllner 2019-06-29 15:22:44 +02:00 committed by Georges Basile Stavracas Neto
parent 6970f43e66
commit 5f3bad9c94

View File

@ -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();