feat(ctx): Move render_ast_inspector_modal to render_context_modals
This commit is contained in:
+2
-1
@@ -4197,7 +4197,6 @@ def render_text_viewer_window(app: App) -> None:
|
||||
imgui.end_popup()
|
||||
#endregion: Inject File Modal
|
||||
|
||||
render_ast_inspector_modal(app)
|
||||
render_text_viewer_window(app)
|
||||
return
|
||||
|
||||
@@ -5311,6 +5310,8 @@ def render_context_modals(app: App) -> None:
|
||||
|
||||
imgui.end_popup()
|
||||
|
||||
render_ast_inspector_modal(app)
|
||||
|
||||
def render_context_preview_window(app: App) -> None:
|
||||
with imscope.window("Context Preview", app.show_windows["Context Preview"]) as (exp, opened):
|
||||
app.show_windows["Context Preview"] = bool(opened)
|
||||
|
||||
Reference in New Issue
Block a user