Fix scenery window scrollbar thumb size on window expansion

This commit is contained in:
mix committed 2025-05-22 20:58:55 +01:00
1 parent b84caf8da6
commit 6d8d593b89
1 file changed
+3 -1
+3 -1
View File
@@ -496,8 +496,9 @@ namespace OpenRCT2::Ui::Windows
if (height < min_height)
{
height = min_height;
Invalidate();
OnPrepareDraw();
ContentUpdateScroll();
Invalidate();
}
}
}
@@ -517,6 +518,7 @@ namespace OpenRCT2::Ui::Windows
{
Invalidate();
height = max_height;
OnPrepareDraw();
ContentUpdateScroll();
}