Merge branch 'tier2/default_layout_install_20260629' of C:\projects\manual_slop_tier2 into tier2/default_layout_install_20260629
This commit is contained in:
+2
-2
@@ -6370,10 +6370,10 @@ def render_theme_panel(app: App) -> None:
|
||||
ch_ct, ctrans = imgui.slider_float("##ctrans", theme.get_child_transparency(), 0.1, 1.0, "%.2f")
|
||||
if ch_ct:
|
||||
theme.set_child_transparency(ctrans)
|
||||
bg_enabled = getattr(self, 'bg_shader_enabled', False)
|
||||
bg_enabled = getattr(app, 'bg_shader_enabled', False)
|
||||
ch_bg, new_bg = imgui.checkbox("Animated Background Shader", bg_enabled)
|
||||
if ch_bg and new_bg != bg_enabled:
|
||||
self.bg_shader_enabled = new_bg
|
||||
app.bg_shader_enabled = new_bg
|
||||
gui_cfg = app.config.setdefault("gui", {})
|
||||
gui_cfg["bg_shader_enabled"] = new_bg
|
||||
if hasattr(app, "_flush_to_config"): app._flush_to_config()
|
||||
|
||||
Reference in New Issue
Block a user