Select entity when you finish drawing a way. Fixes #143

This commit is contained in:
Tom MacWright
2012-11-30 16:29:18 -05:00
parent 85b757db0b
commit 4abc8b394b

View File

@@ -202,6 +202,7 @@ iD.modes.DrawRoad = function(way_id, direction) {
}
delete way.tags.elastic;
this.map.perform(iD.actions.changeTags(way, way.tags));
this.map.selectEntity(way);
// End by clicking on own tail
return this.exit();
} else {