1
0
mirror of synced 2025-01-25 15:53:43 +01:00

fix: Crash when using text editor as last item in a window

This commit is contained in:
WerWolv 2024-12-23 23:17:19 +01:00
parent bfddf24204
commit e2f82c60e6

View File

@ -1274,6 +1274,7 @@ void TextEditor::Render(const char *aTitle, const ImVec2 &aSize, bool aBorder) {
mWithinRender = false;
ImGui::SetCursorScreenPos(ImVec2(position.x,position.y+aSize.y-1));
ImGui::Dummy({});
}
void TextEditor::SetText(const std::string &aText) {