Fix a few test failures

This commit is contained in:
smoogipoo
2021-09-06 20:20:52 +09:00
parent 401d38fc05
commit 20100b8894
5 changed files with 16 additions and 5 deletions

View File

@ -47,6 +47,8 @@ namespace osu.Game.Screens.Ranking
/// </summary>
public bool IsScrolledToEnd => flow.Count > 0 && scroll.ScrollableExtent > 0 && scroll.IsScrolledToEnd(scroll_endpoint_distance);
public bool AllPanelsVisible => flow.All(p => p.IsPresent);
/// <summary>
/// The current scroll position.
/// </summary>