mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Implement mania note skinning
This commit is contained in:
@ -64,14 +64,14 @@ namespace osu.Game.Rulesets.Mania.UI.Components
|
||||
hitTarget.Anchor = hitTarget.Origin = Anchor.TopLeft;
|
||||
|
||||
Padding = new MarginPadding { Top = hitPosition };
|
||||
Explosions.Padding = new MarginPadding { Top = NotePiece.NOTE_HEIGHT };
|
||||
Explosions.Padding = new MarginPadding { Top = DefaultNotePiece.NOTE_HEIGHT };
|
||||
}
|
||||
else
|
||||
{
|
||||
hitTarget.Anchor = hitTarget.Origin = Anchor.BottomLeft;
|
||||
|
||||
Padding = new MarginPadding { Bottom = hitPosition };
|
||||
Explosions.Padding = new MarginPadding { Bottom = NotePiece.NOTE_HEIGHT };
|
||||
Explosions.Padding = new MarginPadding { Bottom = DefaultNotePiece.NOTE_HEIGHT };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Mania.UI.Components
|
||||
hitTargetBar = new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = NotePiece.NOTE_HEIGHT,
|
||||
Height = DefaultNotePiece.NOTE_HEIGHT,
|
||||
Alpha = 0.6f,
|
||||
Colour = Color4.Black
|
||||
},
|
||||
|
Reference in New Issue
Block a user