RLottie: Fix animation speed when device limits FPS (follow-up)

This commit is contained in:
Alexander Zinchuk 2023-10-27 12:49:58 +02:00
parent 8c0c871023
commit d893ca6cfe

View File

@ -163,6 +163,8 @@ class RLottie {
}
pause(viewId?: string) {
this.lastRenderAt = undefined;
if (viewId) {
this.views.get(viewId)!.isPaused = true;