diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2023-01-13 20:23:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-14 02:23:07 +0100 |
commit | 8835040db61d039af4bab34e36b1e634bb9d1d1f (patch) | |
tree | b1290f7631682f1d9285f706688658926e7b8f22 /src | |
parent | Translated using Weblate (Japanese) (diff) | |
download | nheko-8835040db61d039af4bab34e36b1e634bb9d1d1f.tar.xz |
Pause ParticleEmitter when not in use (#1284)
* Pause ParticleEmitter when not in use * Use timer instead to pause particle system
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 1 | ||||
-rw-r--r-- | src/timeline/TimelineModel.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index a6950870..f9df1cf9 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -1998,6 +1998,7 @@ void TimelineModel::markSpecialEffectsDone() { needsSpecialEffects_ = false; + emit confettiDone(); } QString diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h index 0bf29dc1..334a4d6f 100644 --- a/src/timeline/TimelineModel.h +++ b/src/timeline/TimelineModel.h @@ -451,6 +451,7 @@ signals: void newCallEvent(const mtx::events::collections::TimelineEvents &event); void scrollToIndex(int index); void confetti(); + void confettiDone(); void lastMessageChanged(); void notificationsChanged(); |