From 77b175e76342af4795d3a4f9fb150cf4a8a3ea52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 29 Jul 2021 22:14:30 +0200 Subject: [PATCH] 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: --- js/ui/magnifier.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index f170bbed0..57b32cb05 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -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; } /**