diff options
Diffstat (limited to 'src/declarative/particles/qsgparticlesystem.cpp')
-rw-r--r-- | src/declarative/particles/qsgparticlesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/particles/qsgparticlesystem.cpp b/src/declarative/particles/qsgparticlesystem.cpp index a08495b8e2..efd6c22bd9 100644 --- a/src/declarative/particles/qsgparticlesystem.cpp +++ b/src/declarative/particles/qsgparticlesystem.cpp @@ -477,7 +477,7 @@ float QSGParticleData::curSize() { if (!system || !lifeSpan) return 0.0f; - return size + (endSize - size) * (lifeLeft() / lifeSpan); + return size + (endSize - size) * (1 - (lifeLeft() / lifeSpan)); } float QSGParticleData::lifeLeft() |