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

[Graph] Edges ToggleButton logic fix

parent e2f66642
...@@ -68,9 +68,9 @@ edgesToggleButton sigmaRef state = ...@@ -68,9 +68,9 @@ edgesToggleButton sigmaRef state =
case mSigma of case mSigma of
Just (Just s) -> do Just (Just s) -> do
let settings = { let settings = {
drawEdges: toggled drawEdges: not toggled
, drawEdgeLabels: toggled , drawEdgeLabels: not toggled
, hideEdgesOnMove: not toggled , hideEdgesOnMove: toggled
} }
Sigma.setSettings s settings Sigma.setSettings s settings
_ -> pure unit _ -> 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