mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 06:55:46 +00:00
Fix global leak
This commit is contained in:
@@ -32,7 +32,7 @@ d3.tail = function() {
|
||||
function mousemove() {
|
||||
if (text === false) return;
|
||||
var xoffset = ((d3.event.x + tooltip_size[0] + xmargin) > selection_size[0]) ?
|
||||
-tooltip_size[0] - xmargin : xoffset = xmargin;
|
||||
-tooltip_size[0] - xmargin : xmargin;
|
||||
container.style(transformProp, 'translate(' +
|
||||
(~~d3.event.x + xoffset) + 'px,' +
|
||||
~~d3.event.y + 'px)');
|
||||
|
||||
Reference in New Issue
Block a user