Respect alpha when drawing installer loading overlay

This commit is contained in:
goaaats 2025-05-10 13:23:32 +02:00
parent 271c258e40
commit e9aa2e2ac3

View file

@ -575,7 +575,7 @@ internal class PluginInstallerWindow : Window, IDisposable
ImGui.GetWindowDrawList().AddRectFilled( ImGui.GetWindowDrawList().AddRectFilled(
ImGui.GetWindowPos() + new Vector2(0, titleHeight), ImGui.GetWindowPos() + new Vector2(0, titleHeight),
ImGui.GetWindowPos() + windowSize, ImGui.GetWindowPos() + windowSize,
0xCC000000, ImGui.ColorConvertFloat4ToU32(new(0f, 0f, 0f, 0.8f * ImGui.GetStyle().Alpha)),
ImGui.GetStyle().WindowRounding, ImGui.GetStyle().WindowRounding,
ImDrawFlags.RoundCornersBottom); ImDrawFlags.RoundCornersBottom);
ImGui.PopClipRect(); ImGui.PopClipRect();