ImGuiManager: Increase key repeat delay

This commit is contained in:
Stenzek 2024-04-12 23:52:12 +10:00 committed by Connor McLaughlin
parent a1ec590bf8
commit e027874468
1 changed files with 1 additions and 0 deletions

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());