Fix design notes
commit8e8ec8e41213a5124ea36703aa2e5a5829f285fa
authorMichael Terry <michael.terry@canonical.com>
dateThu 19 Nov 2015, 14:06 (11 years ago)
parentc443ec7
qml/Shell.qml+1−1
@@ -168,7 +168,7 @@ Item {
168168 }
169169
170170 GlobalShortcut {
171− // dummy shortcut to force creation of GlobalShortcutRegistry before WindowKeyFilter
171+ // dummy shortcut to force creation of GlobalShortcutRegistry before WindowInputFilter
172172 }
173173
174174 WindowInputFilter {
qml/Stages/AbstractStage.qml+1−1
@@ -28,7 +28,7 @@ Rectangle {
2828 property url background
2929 property bool beingResized
3030 property int dragAreaWidth
31− property real dragProgress
31+ property real dragProgress // How far left the stage has been dragged, used externally by tutorial code
3232 property bool interactive
3333 property real inverseProgress // This is the progress for left edge drags, in pixels.
3434 property bool keepDashRunning: true
qml/Stages/PhoneStage.qml+1−1
@@ -83,7 +83,7 @@ AbstractStage {
8383 && !(priv.focusedAppDelegate && priv.focusedAppDelegate.xBehavior.running)
8484 && spreadView.phase === 0
8585
86− // How far left the stage has been dragged
86+ // How far left the stage has been dragged, used externally by tutorial code
8787 dragProgress: spreadRepeater.count > 0 ? spreadRepeater.itemAt(0).animatedProgress : 0
8888
8989 readonly property alias dragging: spreadDragArea.dragging
qml/Stages/TabletStage.qml+2
@@ -74,6 +74,8 @@ AbstractStage {
7474 }
7575
7676 orientationChangesEnabled: priv.mainAppOrientationChangesEnabled
77+
78+ // How far left the stage has been dragged, used externally by tutorial code
7779 dragProgress: spreadRepeater.count > 0 ? spreadRepeater.itemAt(0).animatedProgress : 0
7880
7981 onWidthChanged: {
qml/Tutorial/TutorialBottom.qml+2−2
@@ -58,8 +58,8 @@ TutorialPage {
5858 }
5959
6060 background {
61− sourceSize.height: 1080
62− sourceSize.width: 1916
61+ sourceSize.height: 1916
62+ sourceSize.width: 1080
6363 source: Qt.resolvedUrl("graphics/background2.png")
6464 rotation: 180
6565 }
qml/Tutorial/TutorialLeft.qml+2−2
@@ -30,8 +30,8 @@ TutorialPage {
3030 }
3131
3232 background {
33− sourceSize.height: 1080
34− sourceSize.width: 1916
33+ sourceSize.height: 1916
34+ sourceSize.width: 1080
3535 source: Qt.resolvedUrl("graphics/background1.png")
3636 mirror: true
3737 }
qml/Tutorial/TutorialRight.qml+2−2
@@ -38,8 +38,8 @@ TutorialPage {
3838 }
3939
4040 background {
41− sourceSize.height: 1080
42− sourceSize.width: 1916
41+ sourceSize.height: 1916
42+ sourceSize.width: 1080
4343 source: Qt.resolvedUrl("graphics/background1.png")
4444 }
4545
qml/Tutorial/TutorialTop.qml+2−2
@@ -36,8 +36,8 @@ TutorialPage {
3636 }
3737
3838 background {
39− sourceSize.height: 1080
40− sourceSize.width: 1916
39+ sourceSize.height: 1916
40+ sourceSize.width: 1080
4141 source: Qt.resolvedUrl("graphics/background2.png")
4242 }
4343