Implement touch targets for midpoints and points

This commit is contained in:
Bryan Housel
2017-12-15 22:50:55 -05:00
parent 9d42d470ca
commit 5cb5456869
5 changed files with 98 additions and 43 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ export function modeDragNode(context) {
var behavior = behaviorDrag()
.selector('.vertex.target, g.point, g.midpoint')
.selector('.layer-points-targets .target')
.surface(d3_select('#map').node())
.origin(origin)
.on('start', start)