dnd: Declare restore location variables
https://bugzilla.gnome.org/show_bug.cgi?id=791233
This commit is contained in:
parent
4d225bdeac
commit
64c857e3ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user