1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +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

@@ -8,6 +8,7 @@
- Fix: [#15096] Crash when placing entrances in the scenario editor near the map corner.
- Fix: [#15142] ToonTowner's mine roofs were moved into the pirate theme scenery group instead of the mine theme scenery group.
- Fix: [#15148] Track Designs Manager delete confirmation window doesn't display properly.
- Fix: [#15170] Plugin: incorrect label text alignment.
- Improved: [#3417] Crash dumps are now placed in their own folder.
- Change: [#8601] Revert ToonTower base block fix to re-enable support
blocking.

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;