|
|
@ -87,7 +87,7 @@ Item { |
|
|
|
if (mouse.x < xDragStart) { |
|
|
|
if (mouse.x < xDragStart) { |
|
|
|
if (xValuesPageSave == 0) { |
|
|
|
if (xValuesPageSave == 0) { |
|
|
|
valuesPage.x = -valuesPage.width |
|
|
|
valuesPage.x = -valuesPage.width |
|
|
|
_root.height = vibrationPage.height + pageIndicatorRow.anchors.topMargin + pageIndicatorRow.height |
|
|
|
_root.height = Qt.binding(function() { return vibrationPage.height + pageIndicatorRow.anchors.topMargin + pageIndicatorRow.height } ) |
|
|
|
valuesPageIndicator.color = "transparent" |
|
|
|
valuesPageIndicator.color = "transparent" |
|
|
|
vibrationPageIndicator.color = textColor |
|
|
|
vibrationPageIndicator.color = textColor |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -96,7 +96,7 @@ Item { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (xValuesPageSave != 0) { |
|
|
|
if (xValuesPageSave != 0) { |
|
|
|
valuesPage.x = 0 |
|
|
|
valuesPage.x = 0 |
|
|
|
_root.height = valuesPage.height + pageIndicatorRow.anchors.topMargin + pageIndicatorRow.height |
|
|
|
_root.height = Qt.binding(function() { return valuesPage.height + pageIndicatorRow.anchors.topMargin + pageIndicatorRow.height } ) |
|
|
|
valuesPageIndicator.color = textColor |
|
|
|
valuesPageIndicator.color = textColor |
|
|
|
vibrationPageIndicator.color = "transparent" |
|
|
|
vibrationPageIndicator.color = "transparent" |
|
|
|
} else { |
|
|
|
} else { |
|
|
|