Skip to content
  • Jason Davies's avatar
    Use distance instead of d3.event.scale. · abc9dbb0
    Jason Davies authored
    Unlike d3.event.scale, which is a single value provided by the browser
    (usually an average based on the position of all touches), we can
    compute separate distances for each zoom gesture and its target,
    allowing multiple gestures to occur simultaneously.
    abc9dbb0