mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +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:
|
||||
d["on_init"] = kwargs["js_code"]
|
||||
|
||||
if set_minmax:
|
||||
if "min" in kwargs:
|
||||
d["funcmin"] = kwargs["min"]
|
||||
if "max" in kwargs:
|
||||
d["funcmax"] = kwargs["max"]
|
||||
d["autoscale"] = kwargs["autoscale"]
|
||||
if "min" in kwargs:
|
||||
d["funcmin"] = kwargs["min"]
|
||||
if "max" in kwargs:
|
||||
d["funcmax"] = kwargs["max"]
|
||||
d['autoscale'] = kwargs['autoscale']
|
||||
|
||||
if "vectors" in kwargs:
|
||||
d["vectors"] = True
|
||||
|
Loading…
Reference in New Issue
Block a user