This commit is contained in:
2026-03-10 22:54:24 -04:00
parent 92e7352d37
commit 6ae8737c1a

View File

@@ -1233,7 +1233,7 @@ class App:
def _render_persona_editor_modal(self) -> None: def _render_persona_editor_modal(self) -> None:
if not self.show_persona_editor_modal: return if not self.show_persona_editor_modal: return
imgui.open_popup("Persona Editor") imgui.open_popup("Persona Editor")
imgui.set_next_window_size(imgui.ImVec2(800, 600), imgui.ImGuiCond_FirstUseEver) imgui.set_next_window_size(imgui.ImVec2(800, 600), imgui.Cond_.first_use_ever)
opened, self.show_persona_editor_modal = imgui.begin_popup_modal("Persona Editor", self.show_persona_editor_modal) opened, self.show_persona_editor_modal = imgui.begin_popup_modal("Persona Editor", self.show_persona_editor_modal)
if opened: if opened:
try: try: