From 0dbd58c038f4a6fdddc2587cb3a04f941c39a54e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 18 Aug 2018 20:13:02 +0200 Subject: [PATCH] Don't change mouse cursor over ImGuiColorTextEdit window. --- imguicolortextedit/TextEditor.cpp | 2 -- 1 file changed, 2 deletions(-) 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;