magnifier: Fix isTrackingMouse()

Commit 8aed51180f changed the way mouse tracking is implemented,
but missed updating that function.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2037>
This commit is contained in:
Evan Welsh 2021-10-30 15:00:02 -07:00 committed by Florian Müllner
parent c3a764693d
commit 739725e521

View File

@ -250,7 +250,7 @@ export class Magnifier extends Signals.EventEmitter {
* @returns {boolean} whether the magnifier is currently tracking the mouse
*/
isTrackingMouse() {
return !!this._mouseTrackingId;
return !!this._pointerWatch;
}
/**