소스 검색

Increased key repeat rate for non-character input key repeat.

Dodgy - we should have a match here for character input and
non-character input (e.g. holding 'a' vs holding 'backspace' should be
same rate), but for the earlier we don't have the info?
ocornut 10 년 전
부모
커밋
3df91b52ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -670,7 +670,7 @@ ImGuiIO::ImGuiIO()
     MouseDoubleClickMaxDist = 6.0f;
     MouseDragThreshold = 6.0f;
     KeyRepeatDelay = 0.250f;
-    KeyRepeatRate = 0.020f;
+    KeyRepeatRate = 0.050f;
     UserData = NULL;
 
     // User functions