Skip to content
Snippets Groups Projects
Commit cefdc9fe authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Rotate costumes instantly instead of waiting

parent 698e838c
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ class SpriteLibrary extends React.PureComponent {
}
startRotatingCostumes () {
if (!this.state.activeSprite) return;
this.rotateCostume();
this.intervalId = setInterval(this.rotateCostume, 300);
}
stopRotatingCostumes () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment