forked from rosebudai/OpenRCT2-Web
Fix scenery window scrollbar thumb size on window expansion
This commit is contained in:
1 parent
b84caf8da6
commit
6d8d593b89
1 file changed
+3
-1
@@ -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