Tooltip for tags/shape

This commit is contained in:
Richard Fairhurst
2012-07-12 00:21:29 +01:00
parent b4be8f26e9
commit 4f6201f93a
7 changed files with 71 additions and 20 deletions
+2 -2
View File
@@ -94,12 +94,12 @@ declare("iD.controller.shape.DrawWay", [iD.controller.ControllerState], {
if (entity==this.getDrawingNode()) {
// Double-click, so complete drawing
this.controller.stepper.highlight('tag');
return new iD.controller.edit.SelectedWay(this.way);
return new iD.controller.edit.SelectedWay(this.way, event);
} else if (entity==this.getStartNode()) {
// Start of this way, so complete drawing
this.appendNode(entity, this.undoAdder() );
this.controller.stepper.highlight('tag');
return new iD.controller.edit.SelectedWay(this.way);
return new iD.controller.edit.SelectedWay(this.way, event);
} else {
// Add to way
this.appendNode(entity, this.undoAdder() );