-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NUI] Remove old frame range if we set marker + Minor fix up when mar…
…ker invalid LottieAnimationView cache both frame range as int, and marker. But two API set same property - PlayRange. So if some code like below thing was not working well ``` // Let "marker" frame range is 10~20 lottieView.SetMinMaxFrame(30, 40); // play range become 30~40 lottieView.SetMinMaxFrameByMarker(marker); // play range become 10~20 lottieView.SetMinMaxFrame(30, 40); // play range need to be 30~40 again, but it didn't due to the cache. ``` To avoid like above case, let we clean cache explicit parameter. Also, Let we add some more error check if app use invalid marker (Lottie file not loaded, or marker is invalid.) In this case, let we just follow minMaxSetTypes.NotSetByUser logic then. Signed-off-by: Eunki Hong <[email protected]>
- Loading branch information
Showing
2 changed files
with
71 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters