From e600d3fdcd2d28279cff3ce0cbba8223b1f29c73 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 22 Mar 2026 13:10:42 -0400 Subject: [PATCH] fix(gui): Use correct ImVec4 color API in placeholder methods imgui.ImColor.IM_COL32 doesn't exist - use C_LBL (vec4) instead. Fixes Missing EndTabBar() error caused by exception in placeholder methods. --- src/gui_2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui_2.py b/src/gui_2.py index d7abb6c..96d20b0 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -2088,7 +2088,7 @@ class App: def _render_context_composition_placeholder(self) -> None: imgui.text("Context Composition") imgui.separator() - imgui.text_colored(imgui.ImColor.IM_COL32(150, 150, 150, 255).Value, "Coming in Phase 3...") + imgui.text_colored(C_LBL, "Coming in Phase 3...") def _render_snapshot_tab(self) -> None: if imgui.begin_tab_bar("snapshot_tabs"): @@ -2131,7 +2131,7 @@ class App: def _render_takes_placeholder(self) -> None: imgui.text("Takes & Synthesis") imgui.separator() - imgui.text_colored(imgui.ImColor.IM_COL32(150, 150, 150, 255).Value, "Coming in Phase 4...") + imgui.text_colored(C_LBL, "Coming in Phase 4...") def _render_markdown_test(self) -> None: imgui.text("Markdown Test Panel")