Commit 64c857e3 authored by Marco Trevisan's avatar Marco Trevisan 🎺
Browse files

dnd: Declare restore location variables

https://bugzilla.gnome.org/show_bug.cgi?id=791233
parent 4d225bde
...@@ -583,7 +583,7 @@ var _Draggable = new Lang.Class({ ...@@ -583,7 +583,7 @@ var _Draggable = new Lang.Class({
_restoreDragActor: function(eventTime) { _restoreDragActor: function(eventTime) {
this._dragInProgress = false; this._dragInProgress = false;
[restoreX, restoreY, restoreScale] = this._getRestoreLocation(); let [restoreX, restoreY, restoreScale] = this._getRestoreLocation();
// fade the actor back in at its original location // fade the actor back in at its original location
this._dragActor.set_position(restoreX, restoreY); this._dragActor.set_position(restoreX, restoreY);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment