mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 14:52:56 +08:00
moved comment
This commit is contained in:
parent
540601cdc8
commit
42d03c7602
@ -957,8 +957,6 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
private void updateVisibleBeatmapCount()
|
private void updateVisibleBeatmapCount()
|
||||||
{
|
{
|
||||||
// Intentionally not localised until we have proper support for this (see https://github.com/ppy/osu-framework/pull/4918
|
|
||||||
// but also in this case we want support for formatting a number within a string).
|
|
||||||
int carouselCountDisplayed = Carousel.CountDisplayed;
|
int carouselCountDisplayed = Carousel.CountDisplayed;
|
||||||
|
|
||||||
if (FilterControl.CurrentTextSearch.Value == string.Empty)
|
if (FilterControl.CurrentTextSearch.Value == string.Empty)
|
||||||
@ -967,6 +965,8 @@ namespace osu.Game.Screens.Select
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Intentionally not localised until we have proper support for this (see https://github.com/ppy/osu-framework/pull/4918
|
||||||
|
// but also in this case we want support for formatting a number within a string).
|
||||||
FilterControl.InformationalText = carouselCountDisplayed != 1 ? $"{carouselCountDisplayed:#,0} matches" : $"{carouselCountDisplayed:#,0} match";
|
FilterControl.InformationalText = carouselCountDisplayed != 1 ? $"{carouselCountDisplayed:#,0} matches" : $"{carouselCountDisplayed:#,0} match";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user