mirror of
https://github.com/ppy/osu.git
synced 2025-02-07 20:52:56 +08:00
Adjust padding and round corners of hover layer
This commit is contained in:
parent
5f56ed6872
commit
56cdd83451
@ -88,9 +88,18 @@ namespace osu.Game.Screens.Edit.Components
|
|||||||
Padding = new MarginPadding
|
Padding = new MarginPadding
|
||||||
{
|
{
|
||||||
Top = 5,
|
Top = 5,
|
||||||
Horizontal = -5
|
Horizontal = -2
|
||||||
|
},
|
||||||
|
Child = new Container
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
CornerRadius = 5,
|
||||||
|
Masking = true,
|
||||||
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
new Box { RelativeSizeAxes = Axes.Both, },
|
||||||
|
}
|
||||||
},
|
},
|
||||||
Child = new Box { RelativeSizeAxes = Axes.Both, },
|
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
},
|
},
|
||||||
trackTimer = new OsuSpriteText
|
trackTimer = new OsuSpriteText
|
||||||
|
Loading…
Reference in New Issue
Block a user