aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-10-20 20:28:22 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-01 08:14:08 +0100
commit1cb5f20f17ea08b2cc7cd7bcd28b7c658b6dbb66 (patch)
tree8ad4f91d87b91a2e8610dc8f189142d1669528f2 /examples
parent2147b43b811100240103b002d767452e966f6eae (diff)
Add non-floats to particle type
booleans exposed for the 1.0 or 0.0 floats, and color exposed as 0.0-1.0 even though it's 0-255 internally. Change-Id: Idc7ab2527fef150fddb077fc73ac1c7cf122cfdd Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/particles/affectors/customaffector.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/particles/affectors/customaffector.qml b/examples/declarative/particles/affectors/customaffector.qml
index f3c14e2bb3..0defa54a62 100644
--- a/examples/declarative/particles/affectors/customaffector.qml
+++ b/examples/declarative/particles/affectors/customaffector.qml
@@ -124,7 +124,7 @@ Item {
particle.vx = 0;
else
particle.vx = (particle.vx / xslow);
- particle.update = 1;
+ particle.update = true;
}
}
}