You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this package already for a long time, but in the meantime the animation speed increased. It's like it spead up to double so fast or even more. I thought about the config parameter "lifetime", but that just changes the lifetime not the animation speed lol.
This is my code:
<Reward
ref={ref}
type='emoji'
config={{
elementCount: 12,
angle: 80,
springAnimation: false,
emoji: rewardEmojis
}}
>
... some other Components...
</Reward>
I call the methods like that box.target.checked ? ref.current.rewardMe() : ref.current.punishMe();
Well, am I missing something or do something wrong? How can I make the animation slower?
The text was updated successfully, but these errors were encountered:
Hey,
I use this package already for a long time, but in the meantime the animation speed increased. It's like it spead up to double so fast or even more. I thought about the config parameter "lifetime", but that just changes the lifetime not the animation speed lol.
This is my code:
I call the methods like that
box.target.checked ? ref.current.rewardMe() : ref.current.punishMe();
Well, am I missing something or do something wrong? How can I make the animation slower?
The text was updated successfully, but these errors were encountered: