fix(gui): hide empty text edit input in discussion history when entry is standalone monologue
This commit is contained in:
@@ -2342,7 +2342,8 @@ def hello():
|
|||||||
if self.ui_word_wrap: imgui.pop_text_wrap_pos()
|
if self.ui_word_wrap: imgui.pop_text_wrap_pos()
|
||||||
imgui.end_child()
|
imgui.end_child()
|
||||||
else:
|
else:
|
||||||
ch, entry["content"] = imgui.input_text_multiline("##content", entry["content"], imgui.ImVec2(-1, 150))
|
if not is_standalone:
|
||||||
|
ch, entry["content"] = imgui.input_text_multiline("##content", entry["content"], imgui.ImVec2(-1, 150))
|
||||||
imgui.separator()
|
imgui.separator()
|
||||||
imgui.pop_id()
|
imgui.pop_id()
|
||||||
if self._scroll_disc_to_bottom:
|
if self._scroll_disc_to_bottom:
|
||||||
|
|||||||
Reference in New Issue
Block a user