mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 12:03:20 +08:00
Fix incorrect explosion position on default skin
This commit is contained in:
parent
af408d511f
commit
f4d8defa48
@ -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 = DefaultNotePiece.NOTE_HEIGHT };
|
||||
Explosions.Padding = new MarginPadding { Top = DefaultNotePiece.NOTE_HEIGHT / 2 };
|
||||
}
|
||||
else
|
||||
{
|
||||
hitTarget.Anchor = hitTarget.Origin = Anchor.BottomLeft;
|
||||
|
||||
Padding = new MarginPadding { Bottom = hitPosition };
|
||||
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