Skip to content
Snippets Groups Projects
Commit e4b4258a authored by David Smadja's avatar David Smadja
Browse files

Fix graph boundaries not being properly updated

parent 7cfc6f59
Branches
Tags
1 merge request!283Fix graph boundaries not being properly updated
...@@ -791,9 +791,10 @@ ...@@ -791,9 +791,10 @@
}, },
y: { y: {
min: situation.slider?.yMin ?? 0, min: situation.slider?.yMin ?? 0,
max: situation.slider?.yMax ?? maxVariableValue ?? 100000, max: situation.slider?.yMax ?? (() => maxVariableValue)() ?? 100000,
}, },
}) })
updateAllDomain((() => domain)())
// Note: A reform parameters tree is always more complete than a parameters tree before reform. // Note: A reform parameters tree is always more complete than a parameters tree before reform.
// And the children of a reform node parameter always contain the children of the node parameter // And the children of a reform node parameter always contain the children of the node parameter
// before reform (albeit with some different value parameters). // before reform (albeit with some different value parameters).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment