on xenial help sign in
make property readonly
229c88eMichael Zanetti
qml/Stage/Spread/WindowedRightEdgeMaths.qml+1−1
@@ -41,7 +41,7 @@ QtObject {
41 property real breakPoint: 0.4
41 property real breakPoint: 0.4
42
42
43 // internal
43 // internal
44− property real progress: {
44+ readonly property real progress: {
45 if (pushProgress > 0) {
45 if (pushProgress > 0) {
46 // we don't do the full animation when pushing, just a little bit
46 // we don't do the full animation when pushing, just a little bit
47 return MathUtils.linearAnimation(0, 1, 0, breakPoint + .1, pushProgress)
47 return MathUtils.linearAnimation(0, 1, 0, breakPoint + .1, pushProgress)