Skip to content

Commit ad1c1d9

Browse files
authored
Merge pull request #934 from blankirigaya/fix#504
Set lower default wheel zoom sensitivity for haplotype networks
2 parents 3bc195e + 803e1ee commit ad1c1d9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

malariagen_data/anopheles.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,8 @@ def plot_haplotype_network(
18571857
boxSelectionEnabled=True,
18581858
# prevent accidentally zooming out to oblivion
18591859
minZoom=0.1,
1860+
# lower scroll wheel zoom sensitivity to prevent accidental zooming when trying to navigate large graphs
1861+
wheelSensitivity=0.1,
18601862
)
18611863

18621864
debug("create dash app")

0 commit comments

Comments
 (0)