浏览代码

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