From f2fa566064bcfc50004547c3cbfd465555a77a54 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 13 Jun 2026 12:02:21 -0400 Subject: [PATCH] oops --- 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 b571fff5..ff787e7d 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -3673,7 +3673,7 @@ def render_ast_inspector_modal(app: App) -> None: if imgui.collapsing_header("AST Tree", imgui.TreeNodeFlags_.default_open): if not getattr(app, '_cached_ast_nodes', None): imgui.text("No AST nodes found.") else: - with imscope.table('ast tree members', 2, imgui.TableFlags_.resizable | imgui.TableFlags_.sizing_stretch_prop) + with imscope.table('ast tree members', 2, imgui.TableFlags_.resizable | imgui.TableFlags_.sizing_stretch_prop): imgui.table_setup_column("symbol", imgui.TableColumnFlags_.width_fixed, 400) imgui.table_setup_column("option", imgui.TableColumnFlags_.width_stretch) imgui.table_next_row() @@ -3772,7 +3772,7 @@ def render_ast_inspector_modal(app: App) -> None: if deepest_node is None or node['indent'] > deepest_node['indent']: deepest_node = node mode = 'hide' if deepest_node: mode = getattr(f_item, 'ast_mask', {}).get(deepest_node['full_path'], 'hide') - if mode == 'def': draw_list.add_rect_filled(pos, imgui.ImVec2(pos.x + avail_width, pos.y + line_height), imgui.get_color_u32(theme.get_color("slice_auto", alpha=0.15))) + if mode == 'def': draw_list.add_rect_filled(pos, imgui.ImVec2(pos.x + avail_width, pos.y + line_height), imgui.get_color_u32(theme.get_color("slice_auto", alpha=0.15))) elif mode == 'sig': draw_list.add_rect_filled(pos, imgui.ImVec2(pos.x + avail_width, pos.y + line_height), imgui.get_color_u32(theme.get_color("slice_selection", alpha=0.15))) elif deepest_node and deepest_node['full_path'] == getattr(app, '_hovered_ast_node', None): draw_list.add_rect_filled(pos, imgui.ImVec2(pos.x + avail_width, pos.y + line_height), imgui.get_color_u32(theme.get_color("status_warning", alpha=0.2)))