CommonHostInterface: Fix lag when OSD message display disabled

This commit is contained in:
Connor McLaughlin 2020-08-16 01:40:18 +10:00
parent 10a46a7fd8
commit 3ca1d5b275

View file

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