mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 01:33:03 +00:00
Connect via drag for points (fixes #725)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user