vasu-gondaliya / rubiks-cube

A Rubik's Cube Visualizer with face turns, cube rotations, scramble generator, flat view of cube and cube animation
https://vasu-gondaliya.github.io/rubiks-cube/
MIT License
28 stars 30 forks source link

Bug when clicking "a" multiple times #13

Closed vasu-gondaliya closed 3 years ago

vasu-gondaliya commented 3 years ago

When "a" is pressed multiple times, it starts the interval multiple times. A check needs to be added for it that if the animation is already going on or not.

vasu-gondaliya commented 3 years ago

Hey, @gauravsingh5 the bug is still there.

vasu-gondaliya commented 3 years ago

The problem is occuring in the mobile view when "Start Animation" button is clicked multiple times.