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.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user