mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-03 13:38:04 +02:00
Add shortcut for "Move" mode
This commit is contained in:
@@ -207,6 +207,7 @@ window.iD = function(container) {
|
||||
});
|
||||
|
||||
var keybinding = d3.keybinding('main')
|
||||
.on('M', function() { if (map.editable()) controller.enter(iD.modes.Browse()); })
|
||||
.on('P', function() { if (map.editable()) controller.enter(iD.modes.AddPoint()); })
|
||||
.on('L', function() { if (map.editable()) controller.enter(iD.modes.AddLine()); })
|
||||
.on('A', function() { if (map.editable()) controller.enter(iD.modes.AddArea()); })
|
||||
|
||||
Reference in New Issue
Block a user