mirror of https://github.com/MISP/MISP
fix: physics no longer reset when the layout change
parent
4486c71c58
commit
272f5228e9
|
@ -211,6 +211,7 @@ class EventGraph {
|
|||
|
||||
physics_state(state) {
|
||||
var that = eventGraph;
|
||||
that.network_options.physics.enabled = state;
|
||||
that.network.setOptions({physics: { enabled: state} })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue