@@ -126,11 +126,7 @@ Item {
126126 linearAnimation(0, 1, 1, 1 + stackScale, rightEasing.value)
127127 : 0.95 + Math.abs(middleSectionProgress - 0.5) * 0.1
128128
129− readonly property real closeIconOffset: limitedLeftProgress > 0 ?
130− linearAnimation(0, 1, 0, - itemHeight * stackScale * 0.5, leftEasing.value)
131− : limitedRightProgress > 0 ?
132− linearAnimation(0, 1, 0, - itemHeight * stackScale * 0.5, rightEasing.value)
133− : ((root.itemHeight - root.itemHeight * scale) / 2)
129+ readonly property real closeIconOffset: (scale - 1) * (-root.spreadHeight / 2)
134130
135131 readonly property real tileInfoOpacity: leftFoldingAreaProgress > 0 ?
136132 linearAnimation(1, 1.5, 1, 0, leftFoldingAreaProgress)