From 739725e521c15daa2f703103d1e279246f3eeb19 Mon Sep 17 00:00:00 2001 From: Evan Welsh Date: Sat, 30 Oct 2021 15:00:02 -0700 Subject: [PATCH] magnifier: Fix isTrackingMouse() Commit 8aed51180f changed the way mouse tracking is implemented, but missed updating that function. Part-of: --- js/ui/magnifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index a9e174df0..60971e914 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -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; } /**