Don't change mouse cursor over ImGuiColorTextEdit window.

This commit is contained in:
Bartosz Taudul 2018-08-18 20:13:02 +02:00
parent 2445cc72bc
commit 0dbd58c038

View File

@ -428,8 +428,6 @@ void TextEditor::Render(const char* aTitle, const ImVec2& aSize, bool aBorder)
if (ImGui::IsWindowFocused()) if (ImGui::IsWindowFocused())
{ {
if (ImGui::IsWindowHovered())
ImGui::SetMouseCursor(ImGuiMouseCursor_TextInput);
//ImGui::CaptureKeyboardFromApp(true); //ImGui::CaptureKeyboardFromApp(true);
io.WantCaptureKeyboard = true; io.WantCaptureKeyboard = true;