Fix #27133: Dropdown and spinner not hidden on creation (#27137)

This commit is contained in:
Harry Hopkinson authored and GitHub committed 2026-09-15 17:05:40 +02:00
1 parent 955fe5b92a
commit 20b2aad29a
2 files changed
+5

No files matched your search

+1
View File
@@ -18,6 +18,7 @@
- Fix: [#27087] The ‘Update available’ widget is offset incorrectly.
- Fix: [#27093] Pause and fast forward buttons are shown in multiplayer.
- Fix: [#27113] Chat button is shown in editor mode.
- Fix: [#27133] [Plugin] Dropdown and spinner are not fully hidden with isVisible on creation.
0.5.5 (2026-09-06)
------------------------------------------------------------------------
@@ -1041,6 +1041,8 @@ namespace OpenRCT2::Ui::Windows
widget.tooltip = kStringIdNone;
if (desc.IsDisabled)
widget.flags.set(WidgetFlag::isDisabled);
if (!desc.IsVisible)
widget.flags.set(WidgetFlag::isHidden);
widgetList.push_back(widget);
}
else if (desc.Type == "groupbox")
@@ -1091,6 +1093,8 @@ namespace OpenRCT2::Ui::Windows
widget.tooltip = kStringIdNone;
if (desc.IsDisabled)
widget.flags.set(WidgetFlag::isDisabled);
if (!desc.IsVisible)
widget.flags.set(WidgetFlag::isHidden);
widget.flags.set(WidgetFlag::isHoldable);
widgetList.push_back(widget);