mirror of
https://github.com/ppy/osu.git
synced 2025-01-24 00:13:25 +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)
|
if (Direction.Value == ScrollingDirection.Up)
|
||||||
{
|
{
|
||||||
hitTarget.Anchor = hitTarget.Origin = Anchor.TopLeft;
|
hitTarget.Anchor = hitTarget.Origin = Anchor.TopLeft;
|
||||||
Explosions.Padding = new MarginPadding { Top = DefaultNotePiece.NOTE_HEIGHT };
|
Explosions.Padding = new MarginPadding { Top = DefaultNotePiece.NOTE_HEIGHT / 2 };
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
hitTarget.Anchor = hitTarget.Origin = Anchor.BottomLeft;
|
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