MCPcopy
hub / github.com/jipegit/OSXAuditor / dblclicked

Function dblclicked

d3-3.2.8/d3.js:1300–1305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1298 translate0 = null;
1299 }
1300 function dblclicked() {
1301 var p = d3.mouse(this), l = location(p), k = Math.log(scale) / Math.LN2;
1302 scaleTo(Math.pow(2, d3.event.shiftKey ? Math.ceil(k) - 1 : Math.floor(k) + 1));
1303 translateTo(p, l);
1304 dispatch(event.of(this, arguments));
1305 }
1306 return d3.rebind(zoom, event, "on");
1307 };
1308 var d3_behavior_zoomInfinity = [ 0, Infinity ];

Callers

nothing calls this directly

Calls 4

locationFunction · 0.85
scaleToFunction · 0.85
translateToFunction · 0.85
dispatchFunction · 0.85

Tested by

no test coverage detected