housekeeping

This commit is contained in:
scawful
2025-08-21 19:00:12 -04:00
parent 8b168864f3
commit 9cbae49cb0
5 changed files with 21 additions and 17 deletions

View File

@@ -1066,7 +1066,6 @@ void TextEditor::Render(const char* aTitle, const ImVec2& aSize, bool aBorder) {
if (mHandleKeyboardInputs) {
HandleKeyboardInputs();
ImGui::PushAllowKeyboardFocus(true);
}
if (mHandleMouseInputs) HandleMouseInputs();
@@ -1074,7 +1073,6 @@ void TextEditor::Render(const char* aTitle, const ImVec2& aSize, bool aBorder) {
ColorizeInternal();
Render();
if (mHandleKeyboardInputs) ImGui::PopAllowKeyboardFocus();
if (!mIgnoreImGuiChild) ImGui::EndChild();