mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Change ShowMoreButton hide logic
This commit is contained in:
parent
91f7bc6d45
commit
4a444face1
@ -181,10 +181,12 @@ namespace osu.Game.Overlays.Comments
|
||||
moreButton.Current.Value = response.TopLevelCount - loadedTopLevelComments;
|
||||
moreButton.IsLoading = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
moreButton.Hide();
|
||||
}
|
||||
|
||||
commentCounter.Current.Value = response.Total;
|
||||
|
||||
moreButton.FadeTo(response.HasMore ? 1 : 0);
|
||||
}, loadCancellation.Token);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user