1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Wrap beatmap listing filter names too

While we're here fixing...

Addresses
https://github.com/ppy/osu/discussions/15452#discussioncomment-2734237.
This commit is contained in:
Bartłomiej Dach 2024-03-11 14:58:28 +01:00
parent db1c59475b
commit e5e7c8f268
No known key found for this signature in database

View File

@ -6,10 +6,10 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osuTK;
using osu.Framework.Extensions.EnumExtensions;
using osu.Framework.Localisation;
using osu.Game.Graphics.Containers;
namespace osu.Game.Overlays.BeatmapListing
{
@ -45,9 +45,10 @@ namespace osu.Game.Overlays.BeatmapListing
{
new[]
{
new OsuSpriteText
new OsuTextFlowContainer(t => t.Font = OsuFont.GetFont(size: 13))
{
Font = OsuFont.GetFont(size: 13),
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Text = header
},
filter = CreateFilter()