kopiro / siriwave

The Apple® Siri wave-form replicated in a JS library.
http://kopiro.github.io/siriwave/
MIT License
1.63k stars 168 forks source link

Ensure the drawCycle isn't running multiple times #44

Closed lbarthon closed 4 years ago

lbarthon commented 4 years ago

Issue

I've had an issue where the wave keept going faster after calling stop & start, while the speed was constant. These changes ensures the drawCycle is stopped when the stop method is called, and not started more than once on start method call.

If this is merged, I'd be happy to know when the next release is scheduled.

kopiro commented 4 years ago

Merged! I'm gonna try to fix some remaining issue today and I'll release it