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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;