mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-06 03:29:55 -06:00
Downgrade to C++20 & switch to fmtlib.
This commit is contained in:
@@ -521,7 +521,7 @@ static void DrawAchievementTotal(ImVec2 min, ImVec2 max)
|
||||
if (records >= recordsHalfTotal || records >= ACH_RECORDS)
|
||||
DrawTrophySparkles(imageMin, imageMax, records, frameIndex);
|
||||
|
||||
auto str = std::format("{} / {}", records, ACH_RECORDS);
|
||||
auto str = fmt::format("{} / {}", records, ACH_RECORDS);
|
||||
auto fontSize = Scale(20);
|
||||
auto textSize = g_fntNewRodinDB->CalcTextSizeA(fontSize, FLT_MAX, 0, str.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user