diff --git a/imguicolortextedit/TextEditor.cpp b/imguicolortextedit/TextEditor.cpp index 41b5cd7f..5d9ba8a0 100644 --- a/imguicolortextedit/TextEditor.cpp +++ b/imguicolortextedit/TextEditor.cpp @@ -428,8 +428,6 @@ void TextEditor::Render(const char* aTitle, const ImVec2& aSize, bool aBorder) if (ImGui::IsWindowFocused()) { - if (ImGui::IsWindowHovered()) - ImGui::SetMouseCursor(ImGuiMouseCursor_TextInput); //ImGui::CaptureKeyboardFromApp(true); io.WantCaptureKeyboard = true;