RLottie: Fix animation speed when device limits FPS (follow-up)
This commit is contained in:
parent
8c0c871023
commit
d893ca6cfe
@ -163,6 +163,8 @@ class RLottie {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pause(viewId?: string) {
|
pause(viewId?: string) {
|
||||||
|
this.lastRenderAt = undefined;
|
||||||
|
|
||||||
if (viewId) {
|
if (viewId) {
|
||||||
this.views.get(viewId)!.isPaused = true;
|
this.views.get(viewId)!.isPaused = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user