mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
Move BarHitErrorMeter
's icon reorintation to Update()
This commit is contained in:
parent
7267602b95
commit
3c75094f43
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user