forcegraph: fix dragging of nodes
This commit is contained in:
parent
160100e6df
commit
2d1916be02
|
@ -494,11 +494,11 @@ define(["d3"], function (d3) {
|
|||
.translate([sidebar.getWidth(), 0])
|
||||
|
||||
canvas = d3.select(el)
|
||||
.append("canvas")
|
||||
.attr("tabindex", 1)
|
||||
.on("click", onClick)
|
||||
.on("keypress", keyboardZoom(zoomBehavior))
|
||||
.call(zoomBehavior)
|
||||
.append("canvas")
|
||||
.on("click", onClick)
|
||||
.call(draggableNode)
|
||||
.node()
|
||||
|
||||
|
|
Loading…
Reference in a new issue