jeromeetienne / virtualjoystick.js

a virtual joystick library to emulate a joystick on touch screen in javascript
http://jeromeetienne.github.com/virtualjoystick.js/examples/basic.html
MIT License
417 stars 125 forks source link

Delta return 0 when stick is release #41

Open FlorentBaudon opened 5 years ago

FlorentBaudon commented 5 years ago

When stick is release, is still return last delta. With this fix when stick is release, delta's return 0

techi602 commented 5 years ago

👍