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:
parent
c3a764693d
commit
739725e521
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user