[gnome-shell/wip/carlosg/pad-osd-fixes: 8/12] padOsd: Drop needless call
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/pad-osd-fixes: 8/12] padOsd: Drop needless call
- Date: Fri, 29 May 2020 15:41:24 +0000 (UTC)
commit 0c0ee91b521f0631412b9b3774e12f989f7360be
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 2c266a65de..68ea573e02 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]