From f489117e5b71530cb3469226a7e4c04313c03165 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 9 Jan 2013 17:22:08 -0500 Subject: [PATCH] highlight way or node that will be connected to --- js/id/modes/draw_line.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/id/modes/draw_line.js b/js/id/modes/draw_line.js index 17b0b3be2..ffdab2480 100644 --- a/js/id/modes/draw_line.js +++ b/js/id/modes/draw_line.js @@ -15,6 +15,8 @@ iD.modes.DrawLine = function(wayId, direction) { headId = (direction === 'forward') ? _.last(way.nodes) : _.first(way.nodes), tailId = (direction === 'forward') ? _.first(way.nodes) : _.last(way.nodes); + iD.behavior.Hover()(surface); + map.dblclickEnable(false) .fastEnable(false) .hint('Click to add more points to the line. ' +