From 026d09353f82cb282789dbf65a4f73b31eb4c5e4 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Sat, 8 Jul 2023 18:31:16 +0200 Subject: [PATCH] new webgui draw argument "fullscreen" --- python/webgui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/webgui.py b/python/webgui.py index 737b88a8..9f76e290 100644 --- a/python/webgui.py +++ b/python/webgui.py @@ -119,6 +119,8 @@ class WebGLScene(BaseWebGuiScene): elif eval_ == "imag": d["eval"] = 6 + if "fullscreen" in kwargs: + d["fullscreen"] = kwargs["fullscreen"] return d @@ -156,6 +158,7 @@ def _get_draw_default_args(): objects=[], nodal_p1=False, settings={}, + fullscreen=False, width=_default_width, height=_default_height, )