on xenial help sign in
only use the new rectangle overlay in phase 0 and 1
commit5b71f7a63958b24e0c308c54ec185730fce97ee1 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 1 Dec 2014, 13:09 (12 years ago) parent7da9686
1 file changed+3−1
qml/Stages/TransformedSpreadDelegate.qml+3−1
qml/Stages/TransformedSpreadDelegate.qml+3−1
@@ -316,10 +316,12 @@ SpreadDelegate {
316316 }
317317 ]
318318
319+ opacity: spreadView.phase == 2 ? priv.opacity : 1
320+
319321 Rectangle {
320322 anchors.fill: parent
321323 color: "black"
322− opacity: 1 - priv.opacity
324+ opacity: spreadView.phase < 2 ? 1 - priv.opacity : 0
323325 }
324326
325327 EasingCurve {