Update members of FontStyle

This commit is contained in:
Gymnasiast committed 2025-11-03 23:25:30 +01:00
1 parent 124352c922
commit 0ec4e3353b
52 files changed
+140 -140

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ namespace OpenRCT2::Ui::Windows
const auto& stringIdx = widgets[widgetIndex].text;
auto string = ls.GetString(stringIdx);
Guard::ArgumentNotNull(string);
const auto strWidth = GfxGetStringWidth(string, FontStyle::Medium);
const auto strWidth = GfxGetStringWidth(string, FontStyle::medium);
newWidth = std::max<int16_t>(strWidth, newWidth);
}