mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
CommonHostInterface: Fix lag when OSD message display disabled
This commit is contained in:
parent
10a46a7fd8
commit
3ca1d5b275
|
@ -836,7 +836,10 @@ void CommonHostInterface::DrawOSDMessages()
|
|||
}
|
||||
|
||||
if (!g_settings.display_show_osd_messages)
|
||||
{
|
||||
++iter;
|
||||
continue;
|
||||
}
|
||||
|
||||
const float opacity = std::min(time_remaining, 1.0f);
|
||||
ImGui::SetNextWindowPos(ImVec2(position_x, position_y));
|
||||
|
|
Loading…
Reference in a new issue