mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Remove double-undo when exiting drawLine mode
This commit is contained in:
@@ -160,6 +160,8 @@ iD.modes.DrawLine = function(wayId, direction) {
|
||||
.on('⌦.drawline', null)
|
||||
.on('↩.drawline', null);
|
||||
|
||||
d3.select('#undo').on('click.drawline', null);
|
||||
|
||||
window.setTimeout(function() {
|
||||
mode.map.dblclickEnable(true);
|
||||
}, 1000);
|
||||
|
||||
Reference in New Issue
Block a user