mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -228,7 +228,6 @@ var Magnifier = class Magnifier {
|
|||
* scrollToMousePos:
|
||||
* Position all zoom regions' ROI relative to the current location of the
|
||||
* system pointer.
|
||||
* @returns {bool} true.
|
||||
*/
|
||||
scrollToMousePos(...args) {
|
||||
const [xMouse, yMouse] = args.length ? args : global.get_pointer();
|
||||
|
|
@ -247,7 +246,6 @@ var Magnifier = class Magnifier {
|
|||
else
|
||||
this.showSystemCursor();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue