1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Move BarHitErrorMeter's icon reorintation to Update()

This commit is contained in:
AbstractQbit 2021-09-13 19:41:55 +03:00
parent 7267602b95
commit 3c75094f43
2 changed files with 4 additions and 6 deletions

View File

@ -128,7 +128,6 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
};
createColourBars(colours);
OrientIcons();
}
protected override void LoadComplete()
@ -142,11 +141,11 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
arrow.Delay(200).FadeInFromZero(600);
}
/// <summary>
/// Method to undo any layout rotation to display icons in the correct orientation.
/// </summary>
public void OrientIcons()
protected override void Update()
{
base.Update();
// undo any layout rotation to display icons in the correct orientation
iconEarly.Rotation = -Rotation;
iconLate.Rotation = -Rotation;
}

View File

@ -376,7 +376,6 @@ namespace osu.Game.Skinning
hitError.Anchor = Anchor.BottomCentre;
hitError.Origin = Anchor.CentreLeft;
hitError.Rotation = -90;
if (hitError is BarHitErrorMeter barHitError) barHitError.OrientIcons();
}
if (songProgress != null)