This PR enhances the animated image asset to persist the last frame when the asset is loaded into a new widget.
When the image asset config has persist_frame: true, the first time the image asset is loaded the default start_frame will be used. On all subsequent loads, the last-used animation frame will be the starting frame.
This change is to improve the behavior of the Digital Score Reels by persisting a player's score when new balls start.
This PR enhances the animated image asset to persist the last frame when the asset is loaded into a new widget.
When the image asset config has
persist_frame: true
, the first time the image asset is loaded the defaultstart_frame
will be used. On all subsequent loads, the last-used animation frame will be the starting frame.This change is to improve the behavior of the Digital Score Reels by persisting a player's score when new balls start.