-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't pause and set progress value manually #47
Comments
currently here's my noob solution: -> Reload the Json file altogether to start fresh otherwise I got those canvas's IClosable, IDisposable error stuffs..
|
What code did you use to try to pause and set the progress? And were that being called from the UI thread? |
I try to pause & set new progress value while it is active (animating) triggered by AutoPlay property set to True on App launch.. and Yes, that were being called from the UI thread. I guess this is because there are two separate animations going on in this scenario, one from the AutoPlay trigger and another one from method call to pause and set the new value.. |
I also found this problem, some lottie files will crash if you change the Slider Value on LottieUWP.Sample. This bug is related to the CurrentDrawingSession of BitmapCanvas. I modified the Progress setter of LottieDrawable to avoid this bug. code in LottieDrawable .cs
|
You are disposing the bitmapcanvas every frame change? I don't think that is a good solution. |
The Progress setter of LottieDrawable is called only you changed the Slider value manually,and I didn't solve the bug, I just found a way to avoid it. |
Unspecified error
Attempting to close a CanvasActiveLayer that is not top of the stack. The most recently created layer must be closed first.
The text was updated successfully, but these errors were encountered: