File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -654,6 +654,7 @@ class Cytoscape extends Component {
654654 maxZoom,
655655 zoomingEnabled,
656656 userZoomingEnabled,
657+ wheelSensitivity,
657658 boxSelectionEnabled,
658659 autoungrabify,
659660 autolock,
@@ -701,6 +702,7 @@ class Cytoscape extends Component {
701702 maxZoom = { maxZoom }
702703 zoomingEnabled = { zoomingEnabled }
703704 userZoomingEnabled = { userZoomingEnabled }
705+ wheelSensitivity = { wheelSensitivity }
704706 boxSelectionEnabled = { boxSelectionEnabled }
705707 autoungrabify = { autoungrabify }
706708 autolock = { autolock }
@@ -996,6 +998,11 @@ Cytoscape.propTypes = {
996998 */
997999 userZoomingEnabled : PropTypes . bool ,
9981000
1001+ /**
1002+ * Changes the scroll wheel sensitivity when zooming.
1003+ */
1004+ wheelSensitivity : PropTypes . number ,
1005+
9991006 /**
10001007 * Whether box selection (i.e. drag a box overlay around, and release it
10011008 * to select) is enabled. If enabled, the user must taphold to pan the graph.
@@ -1215,6 +1222,7 @@ Cytoscape.defaultProps = {
12151222 userZoomingEnabled : true ,
12161223 panningEnabled : true ,
12171224 userPanningEnabled : true ,
1225+ wheelSensitivity : 1 ,
12181226 boxSelectionEnabled : false ,
12191227 autolock : false ,
12201228 autoungrabify : false ,
You can’t perform that action at this time.
0 commit comments