mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
fix crash when collision boxes are drawn in debug mode
This commit is contained in:
@@ -81,7 +81,7 @@ export function svgLabels(projection, context) {
|
||||
|
||||
|
||||
function drawLinePaths(selection, labels, filter, classes) {
|
||||
var paths = selection.selectAll('path')
|
||||
var paths = selection.selectAll('path:not(.debug)')
|
||||
.filter(d => filter(d.entity))
|
||||
.data(labels, d => osmEntity.key(d.entity));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user