You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, on "mousedown" on a zoom button, there is a zoomDelay, and then the zoomFactor is applied. If the delay is long enough, a quick click can be swallowed, and the zoomFactor will never be applied. Furthermore, this feels like lag to the user.
The zoomFactor should be applied immediately, then the zoomDelay, zoomFactor, ... etc. (The important difference being that the zoomFactor is applied once before the delay.)
Currently, on "mousedown" on a zoom button, there is a zoomDelay, and then the zoomFactor is applied. If the delay is long enough, a quick click can be swallowed, and the zoomFactor will never be applied. Furthermore, this feels like lag to the user.
The zoomFactor should be applied immediately, then the zoomDelay, zoomFactor, ... etc. (The important difference being that the zoomFactor is applied once before the delay.)
Here's the function of interest:
https://github.com/cytoscape/cytoscape.js-panzoom/blob/master/cytoscape.js-panzoom.js#L384
The text was updated successfully, but these errors were encountered: