Skip to content
Snippets Groups Projects
Verified Commit 24389f36 authored by Joe Donofry's avatar Joe Donofry
Browse files

Fix chat effect particles sometimes getting 'stuck' on screen

parent b541f5eb
No related branches found
No related tags found
No related merge requests found
Pipeline #5143 passed
......@@ -381,7 +381,10 @@ Item {
repeat: false
running: false
onTriggered: shouldEffectsRun = false
onTriggered: {
timelineEffects.removeParticles()
shouldEffectsRun = false
}
}
Connections {
function onConfetti() {
......
......@@ -21,6 +21,11 @@ Item {
rainfallEmitter.pulse(effectRoot.height * 3.3)
}
function removeParticles()
{
particleSystem.reset()
}
ParticleSystem {
id: particleSystem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment