mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 14:45:12 +02:00
@@ -15,8 +15,8 @@ iD.modes.DrawArea = function(wayId) {
|
||||
node = iD.Node({loc: map.mouseCoordinates()});
|
||||
|
||||
map.dblclickEnable(false)
|
||||
.fastEnable(false)
|
||||
.hint('Click on the map to add points to your area. Finish the ' +
|
||||
.fastEnable(false);
|
||||
map.hint('Click on the map to add points to your area. Finish the ' +
|
||||
'area by clicking on your first point');
|
||||
|
||||
history.perform(
|
||||
@@ -107,9 +107,8 @@ iD.modes.DrawArea = function(wayId) {
|
||||
};
|
||||
|
||||
mode.exit = function() {
|
||||
mode.map
|
||||
.hint(false)
|
||||
.fastEnable(true);
|
||||
mode.map.hint(false);
|
||||
mode.map.fastEnable(true);
|
||||
|
||||
mode.map.surface
|
||||
.on('mousemove.drawarea', null)
|
||||
|
||||
@@ -120,9 +120,8 @@ iD.modes.DrawLine = function(wayId, direction) {
|
||||
};
|
||||
|
||||
mode.exit = function() {
|
||||
mode.map
|
||||
.hint(false)
|
||||
.fastEnable(true);
|
||||
mode.map.hint(false);
|
||||
mode.map.fastEnable(true);
|
||||
|
||||
mode.map.surface
|
||||
.on('mousemove.drawline', null)
|
||||
|
||||
Reference in New Issue
Block a user