mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix scroll container's scrollbar not respecting minimum size on first resize
This commit is contained in:
@ -112,6 +112,9 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
CornerRadius = 5;
|
||||
|
||||
// needs to be set initially for the ResizeTo to respect minimum size
|
||||
Size = new Vector2(SCROLL_BAR_HEIGHT);
|
||||
|
||||
const float margin = 3;
|
||||
|
||||
Margin = new MarginPadding
|
||||
|
Reference in New Issue
Block a user