overview: change _hideInProgress to visibleTarget
And use it in overviewControls. When we moved this code from overview.js to overviewControls.js we lost a condition so we now slide in controls even when going back from the overview, which looks bad. https://bugzilla.gnome.org/show_bug.cgi?id=693974
This commit is contained in:
@ -314,7 +314,8 @@ const ControlsManager = new Lang.Class({
|
||||
// actors will be made visible again when entering the overview
|
||||
// next time, and animating them while doing so is just
|
||||
// unnecessary noise
|
||||
if (!Main.overview.visible)
|
||||
if (!Main.overview.visible ||
|
||||
(Main.overview.animationInProgress && !Main.overview.visibleTarget))
|
||||
return;
|
||||
|
||||
let activePage = this._viewSelector.getActivePage();
|
||||
|
Reference in New Issue
Block a user