Automatic PGZero mode in simple UI mode
@@ -12,6 +12,9 @@ def toggle_variable():
def update_environment():
+ if get_workbench().get_ui_mode() == "simple":
+ os.environ["PGZERO_MODE"] = "auto"
+ else:
os.environ["PGZERO_MODE"] = str(get_workbench().get_option(_OPTION_NAME))
