mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
fix: decrease zoom sensitivity on network view
This commit is contained in:
@@ -97,7 +97,8 @@ function get_network() {
|
|||||||
// See https://js.cytoscape.org/ for documentation
|
// See https://js.cytoscape.org/ for documentation
|
||||||
cy = cytoscape({
|
cy = cytoscape({
|
||||||
container: document.getElementById('cy'),
|
container: document.getElementById('cy'),
|
||||||
style: network_style
|
style: network_style,
|
||||||
|
wheelSensitivity: 0.2
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add pan + zoom widget with cytoscape-panzoom
|
// Add pan + zoom widget with cytoscape-panzoom
|
||||||
|
|||||||
Reference in New Issue
Block a user