on xenial help sign in
update screenshots before starting right edge animation
commit2b5e5ca090cbea468500039c3bafa5b34a0d38af authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 10 Jan 2014, 11:26 (13 years ago) parente7794e3
1 file changed+6−2
qml/Stages/PhoneStage.qml+6−2
qml/Stages/PhoneStage.qml+6−2
@@ -187,8 +187,12 @@ Item {
187187 width: root.dragAreaWidth
188188
189189 onTouchXChanged: {
190−// print("touchX changed", touchX)
191− coverFlip.progress = -(touchX - root.dragAreaWidth) / root.width
190+ if (!dragging && !priv.waitingForScreenshot) {
191+ priv.requestNewScreenshot();
192+ }
193+ if (dragging && !priv.waitingForScreenshot) {
194+ coverFlip.progress = -(touchX - root.dragAreaWidth) / root.width
195+ }
192196 }
193197
194198 onDraggingChanged: {