1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix scenery window scrollbar thumb size on window expansion

This commit is contained in:
mix
2025-05-18 17:05:19 +01:00
parent b84caf8da6
commit 6d8d593b89

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();
}