ImGuiManager: Use 1/255 as opacity threshold

pull/3743/head
Stenzek 4 months ago
parent 2225d366b2
commit 1758f43d93
No known key found for this signature in database

@ -1379,7 +1379,7 @@ void ImGuiManager::DrawOSDMessages(Timer::Value current_time)
} }
if (actual_y >= ImGui::GetIO().DisplaySize.y || (msg.type >= OSDMessageType::Info && !show_messages) || if (actual_y >= ImGui::GetIO().DisplaySize.y || (msg.type >= OSDMessageType::Info && !show_messages) ||
opacity == 0.0f) opacity < (1.0f / 255.0f))
{ {
break; break;
} }

Loading…
Cancel
Save