@@ -48,12 +48,14 @@ Item {
4848 readonly property real limitedLeftProgress: Math.min(2, leftFoldingAreaProgress)
4949 readonly property real limitedRightProgress: Math.min(2, rightFoldingAreaProgress)
5050
51−// Label {
52−// anchors { left: parent.left; top: parent.top; topMargin: - 100 }
53−// text: leftFoldingAreaProgress.toFixed(2)
54−// color: "green"
55−// fontSize: "x-large"
56−// }
51+ readonly property real middleSectionProgress: (linearX - margins - foldingAreaWidth) / (flickableWidth - (margins + foldingAreaWidth) * 2)
52+
53+ Label {
54+ anchors { left: parent.left; top: parent.top; topMargin: - 100 }
55+ text: middleSectionProgress.toFixed(2)
56+ color: "green"
57+ fontSize: "x-large"
58+ }
5759
5860 // Output
5961 readonly property int animatedX: {
@@ -113,7 +115,8 @@ Item {
113115 linearAnimation(0, 1, 1, 1 + stackScale, leftEasing.value)
114116 : limitedRightProgress > 0 ?
115117 linearAnimation(0, 1, 1, 1 + stackScale, rightEasing.value)
116− : 1
118+ // 0.5 :
119+ : 0.95 + Math.abs(middleSectionProgress - 0.5) * 0.1
117120
118121 readonly property real tileInfoOpacity: leftFoldingAreaProgress > 0 ?
119122 linearAnimation(1, 2, 1, 0, leftFoldingAreaProgress)