mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 12:43:21 +08:00
Remove ``IsPresent
`` usages
This commit is contained in:
parent
de37a0a000
commit
38cc47d64e
@ -142,8 +142,6 @@ namespace osu.Game.Screens.Select
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool IsPresent => base.IsPresent || DisplayedContent == null; // Visibility is updated in the LoadComponentAsync callback
|
|
||||||
|
|
||||||
private Container? loadingInfo;
|
private Container? loadingInfo;
|
||||||
|
|
||||||
private void updateDisplay()
|
private void updateDisplay()
|
||||||
@ -316,7 +314,7 @@ namespace osu.Game.Screens.Select
|
|||||||
starRatingDisplay.Current.Value = s.NewValue ?? default;
|
starRatingDisplay.Current.Value = s.NewValue ?? default;
|
||||||
|
|
||||||
// Don't roll the counter on initial display (but still allow it to roll on applying mods etc.)
|
// Don't roll the counter on initial display (but still allow it to roll on applying mods etc.)
|
||||||
if (!starRatingDisplay.IsPresent)
|
if (starRatingDisplay.Alpha > 0)
|
||||||
starRatingDisplay.FinishTransforms(true);
|
starRatingDisplay.FinishTransforms(true);
|
||||||
|
|
||||||
starRatingDisplay.FadeIn(transition_duration);
|
starRatingDisplay.FadeIn(transition_duration);
|
||||||
|
Loading…
Reference in New Issue
Block a user