mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
Fix webgui autoscale
This commit is contained in:
parent
ea32b203d6
commit
b8c2b08fdc
@ -87,12 +87,11 @@ class WebGLScene(BaseWebGuiScene):
|
|||||||
if "js_code" in kwargs:
|
if "js_code" in kwargs:
|
||||||
d["on_init"] = kwargs["js_code"]
|
d["on_init"] = kwargs["js_code"]
|
||||||
|
|
||||||
if set_minmax:
|
|
||||||
if "min" in kwargs:
|
if "min" in kwargs:
|
||||||
d["funcmin"] = kwargs["min"]
|
d["funcmin"] = kwargs["min"]
|
||||||
if "max" in kwargs:
|
if "max" in kwargs:
|
||||||
d["funcmax"] = kwargs["max"]
|
d["funcmax"] = kwargs["max"]
|
||||||
d["autoscale"] = kwargs["autoscale"]
|
d['autoscale'] = kwargs['autoscale']
|
||||||
|
|
||||||
if "vectors" in kwargs:
|
if "vectors" in kwargs:
|
||||||
d["vectors"] = True
|
d["vectors"] = True
|
||||||
|
Loading…
Reference in New Issue
Block a user