Commit 7eb07ced authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[Graph] Edges ToggleButton logic fix

parent e2f66642
......@@ -68,9 +68,9 @@ edgesToggleButton sigmaRef state =
case mSigma of
Just (Just s) -> do
let settings = {
drawEdges: toggled
, drawEdgeLabels: toggled
, hideEdgesOnMove: not toggled
drawEdges: not toggled
, drawEdgeLabels: not toggled
, hideEdgesOnMove: toggled
}
Sigma.setSettings s settings
_ -> pure unit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment