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