mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 03:41:33 +00:00
Fix selection usage
This commit is contained in:
@@ -189,6 +189,7 @@ export function Map(context) {
|
||||
}
|
||||
|
||||
function zoomPan(manualEvent) {
|
||||
return; // TODO
|
||||
|
||||
var eventTransform = (manualEvent || d3.event).transform;
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ export function FeatureList(context) {
|
||||
});
|
||||
}
|
||||
|
||||
var visible = context.surface().selectAll('.point, .line, .area')[0];
|
||||
var visible = context.surface().selectAll('.point, .line, .area').nodes();
|
||||
for (var i = 0; i < visible.length && result.length <= 200; i++) {
|
||||
addEntity(visible[i].__data__);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user