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

Initialise CustomWidgetDesc::TextAlign.
This commit is contained in:
Ted John authored and GitHub committed 2021-08-04 21:47:13 +02:00
1 parent 8a09406b64
commit 40a4a993de
2 files changed
+2 -1

No files matched your search

+1
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.
+1 -1
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;