mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix counter initially rolling down from 100% to 0% in minimum achievable mode
This commit is contained in:
@ -41,6 +41,12 @@ namespace osu.Game.Screens.Play.HUD
|
||||
break;
|
||||
}
|
||||
}, true);
|
||||
|
||||
// if the accuracy counter is using the "minimum achievable" mode,
|
||||
// then its initial value is 0%, rather than the 100% that the base PercentageCounter assumes.
|
||||
// to counteract this, manually finish transforms on DisplayedCount once after the initial callback above
|
||||
// to stop it from rolling down from 100% to 0%.
|
||||
FinishTransforms(targetMember: nameof(DisplayedCount));
|
||||
}
|
||||
|
||||
public enum AccuracyDisplayMode
|
||||
|
Reference in New Issue
Block a user