Always hide the right tutorial when the Spread shows
Ignoring the spread showing was likely done so that keyboard+phone users
couldn't dismiss the Tutorial without using the touch screen.
This is no longer a requirement and it sometimes lets you open the
Spread without dismissing the tutorial... after which you can't dismiss
the tutorial any more.
commit9e744a9a729b23426655e14a7fa0692c2974c845
authorDalton Durst <dalton@ubports.com>
dateTue 7 May 2019, 18:51 (7 years ago)
parent89dae30
qml/Tutorial/TutorialRight.qml+1−2
@@ -26,9 +26,8 @@ TutorialPage {
2626 // When on phone or tablet, fade out as the drag progresses
2727 opacityOverride: usageScenario === "desktop" ? 1 : 1 - stage.rightEdgeDragProgress * 2
2828
29− // Else on desktop, fade out when the spread is shown
3029 Connections {
31− target: usageScenario === "desktop" ? stage : null
30+ target: stage
3231 ignoreUnknownSignals: true
3332 onSpreadShownChanged: if (stage.spreadShown && root.shown) root.hide()
3433 }