Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.1.0 Beta 1
-
None
-
OS X
Description
The following example results in no particles, at least on OS X. However if you shorten the duration on the NumberAnimation to 100 ms then it works. Also if this NumberAnimation has no easing curve it will start showing the particles.
import QtQuick 2.0 import QtQuick.Particles 2.0 Rectangle { width: 400 height: 400 color: "black" ParticleSystem { id: ps anchors.fill: parent ImageParticle { id: logoParticle source: "images/particle.png" color: "white" anchors.fill: parent } Emitter { id: pe anchors.fill: parent emitRate: 0 lifeSpan: 750 size: 10 endSize: 2 sizeVariation: 80 velocity: AngleDirection {angleVariation: 180; magnitude: 50} } } SequentialAnimation { running: true NumberAnimation { target: pe; property: "emitRate"; to: 1000; duration: 1000; easing.type: Easing.InSine } } }