mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 13:23:22 +08:00
Merge pull request #10254 from peppy/fix-pancake-scrollbar
Fix scroll container's scrollbar not respecting minimum size on first resize
This commit is contained in:
commit
600d37cc04
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user