From 5fca21b9433b906e780e9fe844195cd9697de267 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 29 May 2020 15:59:32 +0200 Subject: [PATCH] padOsd: Drop needless call If we got this far, we are dealing with an already known label. There's no need for this check. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290 --- js/ui/padOsd.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 3a9e67f7f..3d8bb7530 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -639,9 +639,6 @@ var PadDiagram = GObject.registerClass({ if (this._curEdited == null) return; - let [found] = this._getLabelCoords(action, idx, dir); - if (!found) - return; this._editorActor.show(); editedLabel.hide(); }