add gui settings if not already added in ngsolve

This commit is contained in:
Christopher Lackner 2023-07-08 23:58:48 +02:00
parent ea32b203d6
commit 65d23bd022

View File

@ -121,6 +121,8 @@ class WebGLScene(BaseWebGuiScene):
if "fullscreen" in kwargs:
d["fullscreen"] = kwargs["fullscreen"]
if "gui_settings" not in d:
d["gui_settings"] = self.kwargs["settings"]
return d