mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Don't change mouse cursor over ImGuiColorTextEdit window.
This commit is contained in:
parent
2445cc72bc
commit
0dbd58c038
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user