mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Remove context.childNodes function
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user