fixed for touch zoom in browser without d3.event.scale like firefox and chrome for Android.
Need some other test but work.
fixed for touch zoom in browser without d3.event.scale like firefox and chrome for Android
This also introduces pinch-to-zoom in Chrome 29 on Windows 8. The response is very choppy though, resulting in a ‘shaky’ graph in my case. Any idea what could cause this? Should there maybe be a threshold distance for actually changing the scale?
Add pinch-to-zoom support for Android.
Fixes #1169, #984.
The response was jittery because the scale should be computed in screen coordinates, not in transformed coordinates (which change when you zoom, causing the jitteriness). See #1298 for a fix.