FullscreenUI: Fix pause menu achievements text progress colour

This commit is contained in:
Stenzek 2025-04-05 21:48:48 +10:00
parent 079dae37fd
commit 0f6e5bb1fe
No known key found for this signature in database

View File

@ -2670,7 +2670,7 @@ void Achievements::DrawPauseMenuOverlays(float start_pos_y)
dl->AddText(UIStyle.MediumFont, UIStyle.MediumFont->FontSize, dl->AddText(UIStyle.MediumFont, UIStyle.MediumFont->FontSize,
ImVec2(progress_bb.Min.x + ((progress_bb.Max.x - progress_bb.Min.x) / 2.0f) - (text_size.x / 2.0f), ImVec2(progress_bb.Min.x + ((progress_bb.Max.x - progress_bb.Min.x) / 2.0f) - (text_size.x / 2.0f),
progress_bb.Min.y + ((progress_bb.Max.y - progress_bb.Min.y) / 2.0f) - (text_size.y / 2.0f)), progress_bb.Min.y + ((progress_bb.Max.y - progress_bb.Min.y) / 2.0f) - (text_size.y / 2.0f)),
text_color, buffer.c_str(), buffer.end_ptr()); ImGui::GetColorU32(UIStyle.PrimaryTextColor), buffer.c_str(), buffer.end_ptr());
text_pos.y += progress_height + paragraph_spacing; text_pos.y += progress_height + paragraph_spacing;
if (pending_count > 0) if (pending_count > 0)