mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Fix MoveWay mode (fixes #602)
This commit is contained in:
@@ -47,7 +47,7 @@ iD.modes.MoveWay = function(context, wayId) {
|
||||
context.enter(iD.modes.Browse(context));
|
||||
}
|
||||
|
||||
context.selection()
|
||||
context.surface()
|
||||
.on('mousemove.move-way', move)
|
||||
.on('click.move-way', finish);
|
||||
|
||||
@@ -63,7 +63,7 @@ iD.modes.MoveWay = function(context, wayId) {
|
||||
};
|
||||
|
||||
mode.exit = function() {
|
||||
context.selection()
|
||||
context.surface()
|
||||
.on('mousemove.move-way', null)
|
||||
.on('click.move-way', null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user