Remove context.childNodes function

This commit is contained in:
Quincy Morgan
2020-03-21 13:56:11 -07:00
parent 5fd25601fe
commit fac613e1dc
6 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ export function modeDragNode(context) {
);
} else if (target && target.type === 'way') {
var choice = geoChooseEdge(context.childNodes(target), context.mouse(), context.projection, entity.id);
var choice = geoChooseEdge(context.graph().childNodes(target), context.mouse(), context.projection, entity.id);
context.replace(
actionAddMidpoint({
loc: choice.loc,