feat(gui): Migrate Project Settings window to imgui_window scope
This commit is contained in:
+1
-2
@@ -918,7 +918,7 @@ class App:
|
|||||||
|
|
||||||
#region: Project Settings
|
#region: Project Settings
|
||||||
if self.show_windows.get("Project Settings", False):
|
if self.show_windows.get("Project Settings", False):
|
||||||
exp, opened = imgui.begin("Project Settings", self.show_windows["Project Settings"])
|
with imgui_window("Project Settings", self.show_windows["Project Settings"]) as (exp, opened):
|
||||||
self.show_windows["Project Settings"] = bool(opened)
|
self.show_windows["Project Settings"] = bool(opened)
|
||||||
if exp:
|
if exp:
|
||||||
if imgui.begin_tab_bar('context_hub_tabs'):
|
if imgui.begin_tab_bar('context_hub_tabs'):
|
||||||
@@ -929,7 +929,6 @@ class App:
|
|||||||
self._render_paths_panel()
|
self._render_paths_panel()
|
||||||
imgui.end_tab_item()
|
imgui.end_tab_item()
|
||||||
imgui.end_tab_bar()
|
imgui.end_tab_bar()
|
||||||
imgui.end()
|
|
||||||
#endregion: Project Settings
|
#endregion: Project Settings
|
||||||
|
|
||||||
#region: Files & Media window
|
#region: Files & Media window
|
||||||
|
|||||||
Reference in New Issue
Block a user