on xenial help sign in
added comments for isActive
commit088b2c78641c9be464e75fc6c7c387f0c58ca730 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 29 Jul 2014, 13:53 (12 years ago) parent9463568
2 files changed+4−1
qml/Stages/PhoneStage.qml+2 qml/Stages/TabletStage.qml+2−1
qml/Stages/PhoneStage.qml+2
@@ -114,6 +114,8 @@ Rectangle {
114114 contentWidth: spreadRow.width - shift
115115 contentX: -shift
116116
117+ // This indicates when the spreadView is active. That means, all the animations
118+ // are activated and tiles need to line up for the spread.
117119 readonly property bool isActive: shiftedContentX > 0 || spreadDragArea.dragging
118120
119121 // The flickable needs to fill the screen in order to get touch events all over.
qml/Stages/TabletStage.qml+2−1
@@ -153,8 +153,9 @@ Rectangle {
153153 property int sideStageWidth: units.gu(40)
154154 property bool sideStageVisible: priv.sideStageAppId
155155
156+ // This indicates when the spreadView is active. That means, all the animations
157+ // are activated and tiles need to line up for the spread.
156158 readonly property bool isActive: shiftedContentX > 0 || spreadDragArea.dragging
157− onIsActiveChanged: print("spreadView isActive changed", isActive)
158159
159160 // The flickable needs to fill the screen in order to get touch events all over.
160161 // However, we don't want to the user to be able to scroll back all the way. For