fix(gui_2): call DIR_COLORS/KIND_COLORS entries - they're callable functions
This commit is contained in:
+4
-4
@@ -3702,10 +3702,10 @@ def render_comms_history_panel(app: App) -> None:
|
||||
imgui.same_line()
|
||||
imgui.text_colored(theme.get_color("status_error"), f"[{ticket_id}]")
|
||||
imgui.same_line()
|
||||
d_col = DIR_COLORS.get(direction, C_VAL())
|
||||
imgui.text_colored(d_col, direction); imgui.same_line()
|
||||
k_col = KIND_COLORS.get(kind, C_VAL())
|
||||
imgui.text_colored(k_col, kind); imgui.same_line()
|
||||
d_col_fn = DIR_COLORS.get(direction, C_VAL)
|
||||
imgui.text_colored(d_col_fn(), direction); imgui.same_line()
|
||||
k_col_fn = KIND_COLORS.get(kind, C_VAL)
|
||||
imgui.text_colored(k_col_fn(), kind); imgui.same_line()
|
||||
imgui.text_colored(C_LBL(), f"{provider}/{model}"); imgui.same_line()
|
||||
imgui.text_colored(C_SUB(), f"[{tier}]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user