on xenial help sign in
update screenshots before starting right edge animation
2b5e5caMichael Zanetti
qml/Stages/PhoneStage.qml+6−2
@@ -187,8 +187,12 @@ Item {
187 width: root.dragAreaWidth
187 width: root.dragAreaWidth
188
188
189 onTouchXChanged: {
189 onTouchXChanged: {
190−// print("touchX changed", touchX)
190+ if (!dragging && !priv.waitingForScreenshot) {
191+ priv.requestNewScreenshot();
192+ }
193+ if (dragging && !priv.waitingForScreenshot) {
191− coverFlip.progress = -(touchX - root.dragAreaWidth) / root.width
194+ coverFlip.progress = -(touchX - root.dragAreaWidth) / root.width
195+ }
192 }
196 }
193
197
194 onDraggingChanged: {
198 onDraggingChanged: {