mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix corner radius visible below hit target line
This commit is contained in:
parent
a4f827c7fd
commit
551b7f0d1c
@ -50,7 +50,10 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
|
||||
InternalChild = directionContainer = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = Stage.HIT_TARGET_POSITION,
|
||||
// Ensure the area is tall enough to put the target line in the correct location.
|
||||
// This is to also allow the main background component to overlap the target line
|
||||
// and avoid an inner corner radius being shown below the target line.
|
||||
Height = Stage.HIT_TARGET_POSITION + ArgonNotePiece.CORNER_RADIUS * 2,
|
||||
Children = new[]
|
||||
{
|
||||
new Container
|
||||
@ -70,7 +73,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Colour = OsuColour.Gray(196 / 255f),
|
||||
Height = ArgonNotePiece.CORNER_RADIUS * 2,
|
||||
Masking = true,
|
||||
|
Loading…
Reference in New Issue
Block a user