Resolve RmlUi deprecation warning, add L1/R1 tabbing to MenuBar

This commit is contained in:
Irastris
2026-05-07 13:48:12 -04:00
parent ff054f6f47
commit cf12d19860
4 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ Rml::String build_achievement_info_rml(const Achievement& a) {
if (a.isCounter) {
float fraction = a.goal > 0 ? float(a.progress) / float(a.goal) : 1.0f;
s += fmt::format(
R"(<progressbar value="{:.3f}" class="{}"/>)"
R"(<progress value="{:.3f}" class="{}"/>)"
R"(<span class="achievement-progress">{} / {}</span>)",
fraction,
a.unlocked ? "progress-done" : "progress-ongoing",