InputText: when keys are being input while mouse is dragging, disable mouse drag until button release (#429)

features/sdl_renderer3_multiviewports
ocornut ago%!(EXTRA string=10 years)
parent bf83ac8b55
commit 4bfd5cd95f
  1. 1
      imgui.cpp

@ -7046,6 +7046,7 @@ void ImGuiTextEditState::OnKeyPressed(int key)
{
stb_textedit_key(this, &StbState, key);
CursorFollow = true;
SelectedAllMouseLock = true;
CursorAnimReset();
}

Loading…
Cancel
Save