soft reset hotkey on release (#1358)

Co-authored-by: matthewdavidrichardanderson <matthewdavidrichardanderson@mfb.com>
This commit is contained in:
matthewdavidrichardanderson
2026-05-15 07:05:08 +02:00
committed by GitHub
parent cf89da811a
commit 26be454999
+1 -1
View File
@@ -263,7 +263,7 @@ namespace dusk {
}
if (getSettings().game.enableResetKeybind && ImGui::GetIO().KeyCtrl &&
ImGui::IsKeyPressed(ImGuiKey_R) && !fpcM_SearchByName(fpcNm_LOGO_SCENE_e))
ImGui::IsKeyReleased(ImGuiKey_R) && !fpcM_SearchByName(fpcNm_LOGO_SCENE_e))
{
JUTGamePad::C3ButtonReset::sResetSwitchPushing = true;
}