diff options
author | Fabio Falsini <falsinsoft@gmail.com> | 2021-01-28 20:46:21 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-02-05 23:47:04 +0000 |
commit | b0018b566cfc0fa2e7d90d38cc84806a9221f635 (patch) | |
tree | 5f9231c04d03971d0e367ad7f243841bb9bbf740 /tests/auto/particles/qquickitemparticle/data/managed.qml | |
parent | fcd997d3952780c16f5be4f3bfa55f0fbfc7beb6 (diff) |
QQuickItemParticle give() method kill particle
Currently removing an item connected to a particle
only invalidate the particle that will be reused for
the next item set. This has the effect that the new
item inserted appears in the same position as the
old one just removed. This patch force killing the
particle to assign next item to a new particle
starting from initial position.
Change-Id: Ic937a6d7aea65368cceb1405bb81ef1502d988a5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit d0b1bef8b889ab852eaf906fdc9cd4219238872e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/particles/qquickitemparticle/data/managed.qml')
0 files changed, 0 insertions, 0 deletions