mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 07:25:15 +02:00
fix #1362
This commit is contained in:
@@ -236,6 +236,9 @@ iD.svg.Labels = function(projection, context) {
|
||||
|
||||
|
||||
function hideOnMouseover() {
|
||||
|
||||
if (!mousePosition) return;
|
||||
|
||||
var mouse = mousePosition(d3.event),
|
||||
pad = 50,
|
||||
rect = new RTree.Rectangle(mouse[0] - pad, mouse[1] - pad, 2*pad, 2*pad),
|
||||
|
||||
Reference in New Issue
Block a user