1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 02:03:51 +08:00

Merge pull request #30040 from EVAST9919/file-popover-border

Fix text in `FormFileSelector` bleeding through the border
This commit is contained in:
Dean Herbert 2024-09-30 11:07:39 +09:00 committed by GitHub
commit 71a5cd182a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -244,6 +244,9 @@ namespace osu.Game.Graphics.UserInterfaceV2
Child = new Container
{
Size = new Vector2(600, 400),
// simplest solution to avoid underlying text to bleed through the bottom border
// https://github.com/ppy/osu/pull/30005#issuecomment-2378884430
Padding = new MarginPadding { Bottom = 1 },
Child = new OsuFileSelector(chooserPath, handledExtensions)
{
RelativeSizeAxes = Axes.Both,