Connect via drag for points (fixes #725)

This commit is contained in:
John Firebaugh
2013-02-11 12:44:04 -08:00
parent 5ab1eb61ee
commit 4d976013f9
2 changed files with 5 additions and 1 deletions

View File

@@ -52,6 +52,10 @@ g.point.selected .shadow {
fill-opacity: 0.7;
}
g.point.active, g.point.active * {
pointer-events: none;
}
/* vertices */
g.vertex .fill {

View File

@@ -147,7 +147,7 @@ iD.behavior.DragNode = function(context) {
}
var behavior = iD.behavior.drag()
.delegate("g.node, g.midpoint")
.delegate("g.node, g.point, g.midpoint")
.origin(origin)
.on('start', start)
.on('move', move)