From 3df91b52eac4668ffb39e3d5cb04ef37f8917749 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 17 Jun 2015 16:02:50 -0600 Subject: [PATCH] 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? --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index a518506b..9fafc935 100644 --- a/imgui.cpp +++ b/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