ImGuiManager: Increase key repeat delay

This commit is contained in:
Stenzek authored and Connor McLaughlin committed 2024-04-13 13:21:17 +10:00
1 parent a1ec590bf8
commit e027874468
1 file changed
+1
+1
View File
@@ -146,6 +146,7 @@ bool ImGuiManager::Initialize()
io.BackendUsingLegacyKeyArrays = 0;
io.BackendUsingLegacyNavInputArray = 0;
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_NavEnableGamepad;
io.KeyRepeatDelay = 0.5f;
s_window_width = static_cast<float>(g_gs_device->GetWindowWidth());
s_window_height = static_cast<float>(g_gs_device->GetWindowHeight());