Open sinandirlik opened 5 years ago
On 'mouseup' listener, there is not any timeout for one click hence double click can never be invoked. I'm talking about this page : https://github.com/anvaka/VivaGraphJS/blob/master/src/WebGL/webglInputEvents.js
I think there should be a 400msec timeout for one click, if another click happens then double click will be invoked, in other case one click will be invoked.
On 'mouseup' listener, there is not any timeout for one click hence double click can never be invoked. I'm talking about this page : https://github.com/anvaka/VivaGraphJS/blob/master/src/WebGL/webglInputEvents.js
I think there should be a 400msec timeout for one click, if another click happens then double click will be invoked, in other case one click will be invoked.