Преглед на файлове

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

ocornut преди 9 години
родител
ревизия
4bfd5cd95f
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      imgui.cpp

+ 1 - 0
imgui.cpp

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