magnifier: Remove unused return value
Before the introduction of PointerWatcher, the method was used as a timeout handler. That hasn't been the case since 2012, so drop the return value. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1932>
This commit is contained in:
parent
1ea4d72fe5
commit
77b175e763
@ -228,7 +228,6 @@ var Magnifier = class Magnifier {
|
|||||||
* scrollToMousePos:
|
* scrollToMousePos:
|
||||||
* Position all zoom regions' ROI relative to the current location of the
|
* Position all zoom regions' ROI relative to the current location of the
|
||||||
* system pointer.
|
* system pointer.
|
||||||
* @returns {bool} true.
|
|
||||||
*/
|
*/
|
||||||
scrollToMousePos(...args) {
|
scrollToMousePos(...args) {
|
||||||
const [xMouse, yMouse] = args.length ? args : global.get_pointer();
|
const [xMouse, yMouse] = args.length ? args : global.get_pointer();
|
||||||
@ -247,7 +246,6 @@ var Magnifier = class Magnifier {
|
|||||||
else
|
else
|
||||||
this.showSystemCursor();
|
this.showSystemCursor();
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user