re-fix gamepad inputs

This commit is contained in:
cdozdil
2025-01-31 16:00:59 +03:00
parent 306a1932be
commit 40ab4e158a
+2 -1
View File
@@ -831,7 +831,6 @@ bool MenuCommon::RenderMenu()
if (!_isInited)
return false;
ImGui_ImplWin32_NewFrame();
ImGuiIO& io = ImGui::GetIO(); (void)io;
// Handle Inputs
@@ -894,6 +893,7 @@ bool MenuCommon::RenderMenu()
// If Fps overlay is visible
if (Config::Instance()->ShowFps.value_or_default())
{
ImGui_ImplWin32_NewFrame();
MenuHdrCheck(io);
MenuSizeCheck(io);
ImGui::NewFrame();
@@ -1067,6 +1067,7 @@ bool MenuCommon::RenderMenu()
{
if (!Config::Instance()->ShowFps.value_or_default())
{
ImGui_ImplWin32_NewFrame();
MenuHdrCheck(io);
MenuSizeCheck(io);
ImGui::NewFrame();