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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user