mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 06:58:32 +02:00
Make sure new midpoint also gets included in activeIDs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user