mirror of https://github.com/ppy/osu
Fix hit explosions not following the scroll direction
This commit is contained in:
parent
d73c2a1654
commit
7deaffdb62
|
@ -148,7 +148,10 @@ internal void OnJudgement(DrawableHitObject judgedObject, Judgement judgement)
|
|||
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)
|
||||
|
|
|
@ -21,7 +21,6 @@ public HitExplosion(DrawableHitObject judgedObject)
|
|||
{
|
||||
bool isTick = judgedObject is DrawableHoldNoteTick;
|
||||
|
||||
Anchor = Anchor.TopCentre;
|
||||
Origin = Anchor.Centre;
|
||||
|
||||
RelativeSizeAxes = Axes.X;
|
||||
|
|
Loading…
Reference in New Issue