mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 09:08:28 +00:00
fix: graph is not working in chrome 140
This commit is contained in:
parent
1509e8d502
commit
7903dd08c3
@ -689,7 +689,7 @@ export const GraphClustering = forwardRef<
|
||||
defaultDrawNodeHover: drawHover,
|
||||
|
||||
maxCameraRatio: 2,
|
||||
allowInvalidContainer: false,
|
||||
allowInvalidContainer: true,
|
||||
});
|
||||
|
||||
sigmaRef.current = sigma;
|
||||
|
||||
@ -407,6 +407,7 @@ export const Graph = forwardRef<GraphRef, GraphProps>(
|
||||
enableEdgeEvents: true,
|
||||
minCameraRatio: 0.1,
|
||||
maxCameraRatio: 2,
|
||||
allowInvalidContainer: true,
|
||||
});
|
||||
|
||||
sigmaRef.current = sigma;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user