[gnome-shell] dnd: Declare restore location variables
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dnd: Declare restore location variables
- Date: Wed, 17 Jan 2018 18:05:21 +0000 (UTC)
commit 69da686fa9dc5dbe8c1dae1b8775108d7117f506
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Wed Dec 6 19:03:51 2017 -0500
dnd: Declare restore location variables
https://bugzilla.gnome.org/show_bug.cgi?id=791233
js/ui/dnd.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/dnd.js b/js/ui/dnd.js
index a64915b..33580ee 100644
--- a/js/ui/dnd.js
+++ b/js/ui/dnd.js
@@ -583,7 +583,7 @@ var _Draggable = new Lang.Class({
_restoreDragActor: function(eventTime) {
this._dragInProgress = false;
- [restoreX, restoreY, restoreScale] = this._getRestoreLocation();
+ let [restoreX, restoreY, restoreScale] = this._getRestoreLocation();
// fade the actor back in at its original location
this._dragActor.set_position(restoreX, restoreY);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]