Skip to content

Fix the reroll() to starts the animation from the beginning#20

Open
fl4v102001 wants to merge 1 commit into
3d-dice:mainfrom
fl4v102001:patch-1
Open

Fix the reroll() to starts the animation from the beginning#20
fl4v102001 wants to merge 1 commit into
3d-dice:mainfrom
fl4v102001:patch-1

Conversation

@fl4v102001

Copy link
Copy Markdown

The reroll() function should reset itself on time (i.e. last_time = 0), otherwise when it is triggered (i.e. through a click), the animation fails because it starts later in time.

The reroll() function should reset itself on time (i.e. last_time = 0), otherwise when it is triggered (i.e. through a click), the animation fails because it starts later in time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant