Skip to content

Commit da9ca54

Browse files
don't hide pan/zoom under key; zoom once
1 parent cce805e commit da9ca54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/single-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ dc_graph.load_graph(qs.file || 'data/process.json', function(error, data) {
1919
.timeLimit(5000)
2020
.width('auto')
2121
.height('auto')
22+
.autoZoom('once')
2223
.restrictPan(true)
2324
.nodeDimension(nodes.dimension).nodeGroup(nodes.group)
2425
.edgeDimension(edges.dimension).edgeGroup(edges.group)
25-
.altKeyZoom(true)
2626
// aesthetics
2727
.nodeFixed(n => n.value.fixedPos)
2828
.nodeStrokeWidthAccessor(0) // turn off outlines

0 commit comments

Comments
 (0)