on xenial help sign in
fix tutorial related info about the stage
commiteef4208c47478c8ec1abf3dae06a307dd12e5aff authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 15 Sep 2016, 15:22 (10 years ago) parent6df5e44
2 files changed+3−3
qml/Stage/AbstractStage.qml−1 qml/Stage/Stage.qml+3−2
qml/Stage/AbstractStage.qml−1
@@ -29,7 +29,6 @@ FocusScope {
2929 property url background
3030 property bool beingResized
3131 property int dragAreaWidth
32− property real dragProgress // How far left the stage has been dragged, used externally by tutorial code
3332 property bool interactive
3433 property bool keepDashRunning: true
3534 property real maximizedAppTopMargin
qml/Stage/Stage.qml+3−2
@@ -44,8 +44,9 @@ AbstractStage {
4444 property string mode: "staged"
4545 property real leftEdgeDragProgress: 0
4646
47− // Used by TutorialRight
48− property bool spreadShown: state == "spread"
47+ // Used by the tutorial code
48+ readonly property bool spreadShown: state == "spread"
49+ readonly property real dragProgress: rightEdgeDragArea.progress // How far left the stage has been dragged
4950
5051 // used by the snap windows (edge maximize) feature
5152 readonly property alias previewRectangle: fakeRectangle