mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-15 00:34:05 +09:00
Always reset the hovered state after changing the panel's position
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user