on xenial help sign in
add some more comments
commitee5d0641086d3ad8bb2934b1840e755efb3fbdf5 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 21 Jul 2014, 10:13 (12 years ago) parentedc0cca
2 files changed+8−2
qml/Stages/TransformedSpreadDelegate.qml+2 qml/Stages/TransformedTabletSpreadDelegate.qml+6−2
qml/Stages/TransformedSpreadDelegate.qml+2
@@ -23,7 +23,9 @@ import Ubuntu.Components 0.1
2323SpreadDelegate {
2424 id: root
2525
26+ // Set this to true when this tile is selected in the spread. The animation will change to bring the tile to front.
2627 property bool selected: false
28+ // Set this to true when another tile in the spread is selected. The animation will change to fade this tile out.
2729 property bool otherSelected: false
2830
2931 // The progress animates the tiles. A value > 0 makes it appear from the right edge. At 1 it reaches the end position.
qml/Stages/TransformedTabletSpreadDelegate.qml+6−2
@@ -24,12 +24,16 @@ import Unity.Application 0.1
2424SpreadDelegate {
2525 id: root
2626
27+ // Set this to true when this tile is selected in the spread. The animation will change to bring the tile to front.
28+ property bool selected: false
29+ // Set this to true when another tile in the spread is selected. The animation will change to fade this tile out.
30+ property bool otherSelected: false
31+ // Set this to true when this tile a currently active on either the MS or the SS.
2732 property bool active: false
33+
2834 property int zIndex
2935 property real progress: 0
3036 property real animatedProgress: 0
31− property bool selected: false
32− property bool otherSelected: false
3337
3438 property real startDistance: units.gu(5)
3539 property real endDistance: units.gu(.5)