1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Fix hit explosions not following the scroll direction

This commit is contained in:
smoogipoo 2018-06-08 15:23:47 +09:00
parent d73c2a1654
commit 7deaffdb62
2 changed files with 4 additions and 2 deletions

View File

@ -148,7 +148,10 @@ namespace osu.Game.Rulesets.Mania.UI
if (!judgement.IsHit || !judgedObject.DisplayJudgement)
return;
explosionContainer.Add(new HitExplosion(judgedObject));
explosionContainer.Add(new HitExplosion(judgedObject)
{
Anchor = direction == ScrollingDirection.Up ? Anchor.TopCentre : Anchor.BottomCentre
});
}
public bool OnPressed(ManiaAction action)

View File

@ -21,7 +21,6 @@ namespace osu.Game.Rulesets.Mania.UI
{
bool isTick = judgedObject is DrawableHoldNoteTick;
Anchor = Anchor.TopCentre;
Origin = Anchor.Centre;
RelativeSizeAxes = Axes.X;