fix: Crash when using text editor as last item in a window
This commit is contained in:
parent
bfddf24204
commit
e2f82c60e6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user