Make sure new midpoint also gets included in activeIDs

This commit is contained in:
Bryan Housel
2017-01-16 20:37:34 +05:30
parent aff9cc3b13
commit 0fb506f461
+4
View File
@@ -97,10 +97,14 @@ export function modeDragNode(context) {
var vertex = context.surface().selectAll('.' + entity.id);
behavior.target(vertex.node(), entity);
activeIDs = _.map(context.graph().parentWays(entity), 'id');
activeIDs.push(entity.id);
} else {
context.perform(actionNoop());
}
setActiveElements();
context.enter(mode);
}