mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 11:02:54 +08:00
Merge pull request #8541 from smoogipoo/fix-default-explosion-position
Fix incorrect explosion position on default skin
This commit is contained in:
commit
312f94d810
@ -40,12 +40,12 @@ namespace osu.Game.Rulesets.Mania.UI.Components
|
||||
if (Direction.Value == ScrollingDirection.Up)
|
||||
{
|
||||
hitTarget.Anchor = hitTarget.Origin = Anchor.TopLeft;
|
||||
Explosions.Padding = new MarginPadding { Top = DefaultNotePiece.NOTE_HEIGHT };
|
||||
Explosions.Padding = new MarginPadding { Top = DefaultNotePiece.NOTE_HEIGHT / 2 };
|
||||
}
|
||||
else
|
||||
{
|
||||
hitTarget.Anchor = hitTarget.Origin = Anchor.BottomLeft;
|
||||
Explosions.Padding = new MarginPadding { Bottom = DefaultNotePiece.NOTE_HEIGHT };
|
||||
Explosions.Padding = new MarginPadding { Bottom = DefaultNotePiece.NOTE_HEIGHT / 2 };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user