fix indents on end_combos for Tier Model Usage collapsing header in _render_mma_usage_section
This commit is contained in:
+2
-4
@@ -993,8 +993,6 @@ class App:
|
||||
imgui.pop_style_color()
|
||||
imgui.pop_style_color()
|
||||
|
||||
|
||||
|
||||
def _render_history_window(self) -> None:
|
||||
if not self.show_windows.get('Undo/Redo History', False):
|
||||
return
|
||||
@@ -4939,7 +4937,7 @@ def hello():
|
||||
if imgui.begin_combo("##preset", curr_preset):
|
||||
for pn in p_names:
|
||||
if imgui.selectable(pn, curr_preset == pn)[0]: self.mma_tier_usage[tier]["tool_preset"] = None if pn == "None" else pn
|
||||
imgui.end_combo()
|
||||
imgui.end_combo()
|
||||
imgui.pop_item_width(); imgui.same_line(); imgui.push_item_width(150)
|
||||
curr_pers = self.mma_tier_usage[tier].get("persona") or "None"
|
||||
personas = getattr(self.controller, 'personas', {})
|
||||
@@ -4947,7 +4945,7 @@ def hello():
|
||||
if imgui.begin_combo("##persona", curr_pers):
|
||||
for pern in pers_opts:
|
||||
if imgui.selectable(pern, curr_pers == pern)[0]: self.mma_tier_usage[tier]["persona"] = None if pern == "None" else pern
|
||||
imgui.end_combo()
|
||||
imgui.end_combo()
|
||||
imgui.pop_item_width()
|
||||
|
||||
def _render_mma_ticket_editor(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user