on xenial help sign in
fix snapping
5e7fcc9Michael Zanetti
qml/Stages/PhoneStage.qml+4−2
@@ -256,8 +256,8 @@ Item {
256 case 0:
256 case 0:
257 if (contentX > width * positionMarker2) {
257 if (contentX > width * positionMarker2) {
258 print("switching to app 1 .")
258 print("switching to app 1 .")
259− ApplicationManager.focusApplication(ApplicationManager.get(1).appId)
260 stage = 1;
259 stage = 1;
260+ ApplicationManager.focusApplication(ApplicationManager.get(1).appId)
261 }
261 }
262 break;
262 break;
263 case 1:
263 case 1:
@@ -391,9 +391,11 @@ Item {
391 Connections {
391 Connections {
392 target: spreadView
392 target: spreadView
393 onStageChanged: {
393 onStageChanged: {
394− if (index == 1 && spreadView.stage == 0) {
394+ if (spreadView.stage == 0) {
395+ print("************************ enabling")
395 enableAnimationTimer.start();
396 enableAnimationTimer.start();
396 } else {
397 } else {
398+ print("************************ disabling")
397 stage1Animation.enabled = false;
399 stage1Animation.enabled = false;
398 }
400 }
399 }
401 }