1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Fix #15170: Plugin: incorrect label text alignment (#15175)

Initialise CustomWidgetDesc::TextAlign.
This commit is contained in:
Ted John
2021-08-04 20:47:13 +01:00
committed by GitHub
parent 8a09406b64
commit 40a4a993de
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ namespace OpenRCT2::Ui::Windows
std::string Name;
ImageId Image;
std::string Text;
TextAlignment TextAlign;
TextAlignment TextAlign{};
colour_t Colour{};
std::string Tooltip;
std::vector<std::string> Items;