on xenial help sign in
Always hide the right tutorial when the Spread shows
9e744a9Dalton Durst
qml/Tutorial/TutorialRight.qml+1−2
@@ -26,9 +26,8 @@ TutorialPage {
26 // When on phone or tablet, fade out as the drag progresses
26 // When on phone or tablet, fade out as the drag progresses
27 opacityOverride: usageScenario === "desktop" ? 1 : 1 - stage.rightEdgeDragProgress * 2
27 opacityOverride: usageScenario === "desktop" ? 1 : 1 - stage.rightEdgeDragProgress * 2
28
28
29− // Else on desktop, fade out when the spread is shown
30 Connections {
29 Connections {
31− target: usageScenario === "desktop" ? stage : null
30+ target: stage
32 ignoreUnknownSignals: true
31 ignoreUnknownSignals: true
33 onSpreadShownChanged: if (stage.spreadShown && root.shown) root.hide()
32 onSpreadShownChanged: if (stage.spreadShown && root.shown) root.hide()
34 }
33 }