mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Slight logical error in the setValid method
This commit is contained in:
@ -67,8 +67,9 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
private bool isValid;
|
private bool isValid;
|
||||||
private void setValid(bool valid)
|
private void setValid(bool valid)
|
||||||
{
|
{
|
||||||
isValid = valid;
|
if (isValid == valid) return;
|
||||||
DrawableCount.FadeTo(isValid ? 1 : alpha_when_invalid, 1000, Easing.OutQuint);
|
DrawableCount.FadeTo(isValid ? 1 : alpha_when_invalid, 1000, Easing.OutQuint);
|
||||||
|
isValid = valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onJudgementAdded(JudgementResult judgement)
|
private void onJudgementAdded(JudgementResult judgement)
|
||||||
|
Reference in New Issue
Block a user