"compress the maths a bit"
commitedc0cca2e4283018110be8f79812c52a1be3891d
authorMichael Zanetti <michael.zanetti@canonical.com>
dateMon 21 Jul 2014, 10:05 (12 years ago)
parent07e1b1b
qml/Stages/TabletStage.qml+1−1
@@ -342,7 +342,7 @@ Item {
342342 id: sideStageBackground
343343 color: "black"
344344 anchors.fill: parent
345− anchors.leftMargin: spreadView.width - spreadView.sideStageWidth + spreadView.sideStageWidth * sideStageDragHandle.progress
345+ anchors.leftMargin: spreadView.width - (1 - sideStageDragHandle.progress) * spreadView.sideStageWidth
346346 z: spreadView.indexToZIndex(priv.indexOf(priv.sideStageAppId))
347347 opacity: spreadView.phase == 0 ? 1 : 0
348348 Behavior on opacity { UbuntuNumberAnimation {} }