mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Crash when using text editor as last item in a window
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user