mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 13:25:43 -04: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)
|
if (!g_settings.display_show_osd_messages)
|
||||||
|
{
|
||||||
|
++iter;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
const float opacity = std::min(time_remaining, 1.0f);
|
const float opacity = std::min(time_remaining, 1.0f);
|
||||||
ImGui::SetNextWindowPos(ImVec2(position_x, position_y));
|
ImGui::SetNextWindowPos(ImVec2(position_x, position_y));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user