on xenial help sign in
Animate the overview hiding if visible
commit3dec4a8a71007fa32d8c02855ca9e314abc7b982 authorAlbert Astals <albert.astals@canonical.com> dateTue 2 Sep 2014, 15:13 (12 years ago) parentfb1e3ea
1 file changed+5−1
qml/Dash/Dash.qml+5−1
qml/Dash/Dash.qml+5−1
@@ -35,9 +35,13 @@ Showable {
3535 objectName: "dashCommunicatorService"
3636 onSetCurrentScopeRequested: {
3737 if (!isSwipe || !window.active || overviewController.progress != 0) {
38+ if (overviewController.progress != 0 && window.active) animate = false;
3839 dash.setCurrentScope(scopeId, animate, isSwipe)
3940 if (overviewController.progress != 0) {
40− overviewController.enableAnimation = false;
41+ if (window.active) {
42+ dashContentCache.scheduleUpdate();
43+ }
44+ overviewController.enableAnimation = window.active;
4145 overviewController.progress = 0;
4246 }
4347 }