feat(gui): Migrate Project Settings window to imgui_window scope

This commit is contained in:
2026-05-11 23:19:46 -04:00
parent 1e47ed9013
commit 1f82f996c4
+11 -12
View File
@@ -918,18 +918,17 @@ class App:
#region: Project Settings
if self.show_windows.get("Project Settings", False):
exp, opened = imgui.begin("Project Settings", self.show_windows["Project Settings"])
self.show_windows["Project Settings"] = bool(opened)
if exp:
if imgui.begin_tab_bar('context_hub_tabs'):
if imgui.begin_tab_item('Projects')[0]:
self._render_projects_panel()
imgui.end_tab_item()
if imgui.begin_tab_item('Paths')[0]:
self._render_paths_panel()
imgui.end_tab_item()
imgui.end_tab_bar()
imgui.end()
with imgui_window("Project Settings", self.show_windows["Project Settings"]) as (exp, opened):
self.show_windows["Project Settings"] = bool(opened)
if exp:
if imgui.begin_tab_bar('context_hub_tabs'):
if imgui.begin_tab_item('Projects')[0]:
self._render_projects_panel()
imgui.end_tab_item()
if imgui.begin_tab_item('Paths')[0]:
self._render_paths_panel()
imgui.end_tab_item()
imgui.end_tab_bar()
#endregion: Project Settings
#region: Files & Media window