FullscreenUI: Fix background alpha for achievements user heading

This commit is contained in:
Stenzek
2026-01-12 14:22:33 +10:00
parent 9dcef869a3
commit bc2a2ba8d5

View File

@@ -4727,8 +4727,7 @@ void FullscreenUI::DrawAchievementsSettingsHeader(SettingsInterface* bsi, std::u
const ImVec2 bg_pos = ImGui::GetCursorScreenPos() + ImVec2(0.0f, spacing * 2.0f);
const ImVec2 bg_size = ImVec2(ImGui::GetContentRegionAvail().x, LayoutScale(100.0f));
dl->AddRectFilled(bg_pos, bg_pos + bg_size,
ImGui::GetColorU32(ModAlpha(DarkerColor(UIStyle.BackgroundColor), GetBackgroundAlpha())),
dl->AddRectFilled(bg_pos, bg_pos + bg_size, ImGui::GetColorU32(ModAlpha(DarkerColor(UIStyle.BackgroundColor), 0.5f)),
panel_rounding);
// must be after background rect