[gnome-shell/wip/carlosg/pad-osd-fixes: 2/6] 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: 2/6] padOsd: Drop needless call
- Date: Fri, 29 May 2020 17:56:11 +0000 (UTC)
commit f768e8988f5f200715a4e21fdc74f72ecbc805cc
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 8f84effd55..32b0584dda 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]