on xenial help sign in
fix issues from review
ba481c4Michael Zanetti
qml/Stages/PhoneStage.qml+1−1
@@ -666,7 +666,7 @@ AbstractStage {
666
666
667 onPassed: {
667 onPassed: {
668 // Add 1 pixel to make sure we definitely hit positionMarker4 even with rounding errors of the animation.
668 // Add 1 pixel to make sure we definitely hit positionMarker4 even with rounding errors of the animation.
669− snapAnimation.targetContentX = root.width * spreadView.positionMarker4 + 1 - spreadView.shift;
669+ snapAnimation.targetContentX = (root.width * spreadView.positionMarker4) + 1 - spreadView.shift;
670 snapAnimation.start();
670 snapAnimation.start();
671 }
671 }
672 material: Component {
672 material: Component {
qml/Stages/TabletStage.qml+1−1
@@ -820,7 +820,7 @@ AbstractStage {
820
820
821 onPassed: {
821 onPassed: {
822 // Add 1 pixel to make sure we definitely hit positionMarker4 even with rounding errors of the animation.
822 // Add 1 pixel to make sure we definitely hit positionMarker4 even with rounding errors of the animation.
823− snapAnimation.targetContentX = root.width * spreadView.positionMarker4 + 1 - spreadView.shift;
823+ snapAnimation.targetContentX = (root.width * spreadView.positionMarker4) + 1 - spreadView.shift;
824 snapAnimation.start();
824 snapAnimation.start();
825 }
825 }
826 material: Component {
826 material: Component {