on xenial help sign in
Animate the overview hiding if visible
3dec4a8Albert Astals
qml/Dash/Dash.qml+5−1
@@ -35,9 +35,13 @@ Showable {
35 objectName: "dashCommunicatorService"
35 objectName: "dashCommunicatorService"
36 onSetCurrentScopeRequested: {
36 onSetCurrentScopeRequested: {
37 if (!isSwipe || !window.active || overviewController.progress != 0) {
37 if (!isSwipe || !window.active || overviewController.progress != 0) {
38+ if (overviewController.progress != 0 && window.active) animate = false;
38 dash.setCurrentScope(scopeId, animate, isSwipe)
39 dash.setCurrentScope(scopeId, animate, isSwipe)
39 if (overviewController.progress != 0) {
40 if (overviewController.progress != 0) {
41+ if (window.active) {
42+ dashContentCache.scheduleUpdate();
43+ }
40− overviewController.enableAnimation = false;
44+ overviewController.enableAnimation = window.active;
41 overviewController.progress = 0;
45 overviewController.progress = 0;
42 }
46 }
43 }
47 }