1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Merge pull request #28874 from peppy/fix-editor-toolbox-padding

Fix editor toolboxes being incorrectly chopped
This commit is contained in:
Dan Balasescu 2024-07-16 10:37:33 +09:00 committed by GitHub
commit 58ffbd9e1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ namespace osu.Game.Rulesets.Edit
RelativeSizeAxes = Axes.Y;
FillFlow.Spacing = new Vector2(5);
Padding = new MarginPadding { Vertical = 5 };
FillFlow.Padding = new MarginPadding { Vertical = 5 };
}
protected override bool ReceivePositionalInputAtSubTree(Vector2 screenSpacePos) => base.ReceivePositionalInputAtSubTree(screenSpacePos) && anyToolboxHovered(screenSpacePos);