[gnome-shell/gnome-3-36] padOsd: Drop needless call
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-36] padOsd: Drop needless call
- Date: Fri, 29 May 2020 18:28:39 +0000 (UTC)
commit 5fca21b9433b906e780e9fe844195cd9697de267
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri May 29 15:59:32 2020 +0200
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 3a9e67f7fe..3d8bb7530a 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();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]