1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Rename WindowWidgetType to WidgetType and change for new code style

This commit is contained in:
Gymnasiast
2025-06-10 19:55:12 +02:00
parent 149468406b
commit 650fa3ae2e
86 changed files with 2114 additions and 2153 deletions

View File

@@ -833,7 +833,7 @@ OpenRCT2::Widget* CustomListView::GetWidget() const
for (WidgetIndex widgetIndex = 0; widgetIndex < ParentWindow->widgets.size(); widgetIndex++)
{
auto& widget = ParentWindow->widgets[widgetIndex];
if (widget.type == WindowWidgetType::Scroll)
if (widget.type == WidgetType::scroll)
{
if (scrollIndex == ScrollIndex)
{