on xenial help sign in
fix the close button position
commit8ac45360cf823f8a472658a8a8d991317e899725 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 14 Jul 2015, 18:16 (11 years ago) parent8c65fd0
1 file changed+1−5
qml/Stages/SpreadMaths.qml+1−5
qml/Stages/SpreadMaths.qml+1−5
@@ -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)