mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-15 00:44:20 +00:00
InputText: when keys are being input while mouse is dragging, disable mouse drag until button release (#429)
This commit is contained in:
parent
bf83ac8b55
commit
4bfd5cd95f
1 changed files with 1 additions and 0 deletions
|
|
@ -7046,6 +7046,7 @@ void ImGuiTextEditState::OnKeyPressed(int key)
|
|||
{
|
||||
stb_textedit_key(this, &StbState, key);
|
||||
CursorFollow = true;
|
||||
SelectedAllMouseLock = true;
|
||||
CursorAnimReset();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue