Always reset the hovered state after changing the panel's position

This commit is contained in:
CharlesG
2018-03-18 19:47:55 -06:00
parent e33ea7c801
commit 38fc75301d

View File

@@ -392,8 +392,6 @@ var Intellihide = new Lang.Class({
Tweener.removeTweens(this._panelBox);
}
this._animationDestination = destination;
if (immediate) {
this._panelBox.translation_y = destination;
this._invokeIfExists(onComplete);
@@ -410,9 +408,10 @@ var Intellihide = new Lang.Class({
this._timeoutsHandler.add([T3, POST_ANIMATE_MS, () => this._queueUpdatePanelPosition()]);
}
});
this._hoveredOut = false;
}
this._animationDestination = destination;
this._hoveredOut = false;
},
_invokeIfExists: function(func) {