on xenial help sign in
fix resetting overlayOverride
commitbd7f59bc30a55dc8dc3f5b76e87cdae5741be8de authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 10 Feb 2014, 14:19 (13 years ago) parent1cd4313
1 file changed+6−1
qml/Stages/StageWithSideStage.qml+6−1
qml/Stages/StageWithSideStage.qml+6−1
@@ -22,6 +22,8 @@ Item {
2222
2323 readonly property int overlayWidth: priv.overlayOverride ? 0 : priv.sideStageWidth
2424
25+ onPaintingChanged: print(":::::::::::::::::::::::::::::::: painting changed:", painting, "overlayMode:", overlayMode)
26+ onOverlayModeChanged: print(";;;;;;;;;;;;;;;;;;;;;;;;;; overlayModeChanged:", overlayWidth)
2527
2628 onShownChanged: {
2729// print("shown", shown)
@@ -330,6 +332,8 @@ Item {
330332 property int targetX: root.width
331333 property string snapToId
332334
335+ onRunningChanged: print("sideStageSnapAnimation running changed:", running, sideStageImage.visible, mainStageImage.visible, root.painting, mainStageImage.visible || sideStageImage.visible || sideStageSnapAnimation.running)
336+
333337 UbuntuNumberAnimation { target: sideStageImage; property: "x"; to: sideStageSnapAnimation.targetX; duration: UbuntuAnimation.SlowDuration }
334338 ScriptAction {
335339 script: {
@@ -349,10 +353,11 @@ Item {
349353 ApplicationManager.focusApplication(sideStageSnapAnimation.snapToId)
350354 sideStageSnapAnimation.snapToId = "";
351355 sideStageImage.shown = true;
356+ priv.overlayOverride = false;
352357 }
353358 sideStageImage.visible = false;
354359 mainStageImage.visible = false;
355− print("snapped sidestage")
360+ print("snapped sidestage", root.overlayMode, root.painting)
356361 }
357362 }
358363 }