react-game-kit
react-game-kit copied to clipboard
Sprite: switching repeat not working without changing state
Hi!
When i change repeat from true to false, nothing append, i have to change the current state if i want the Sprite is rerendering without loop on animation. I just want to cancel current repeat on sprite state if the user stop to press some keys.