1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 06:29:52 +08:00

Merge pull request #34658 from peppy/fix-tag-search-operation

This commit is contained in:
Bartłomiej Dach
2025-08-14 15:55:01 +02:00
committed by GitHub
Unverified
2 changed files with 3 additions and 3 deletions
@@ -165,8 +165,8 @@ namespace osu.Game.Screens.SelectV2
{
clear();
contentTags.Tags = tags;
contentTags.PerformSearch = searchAction;
contentTags.Tags = tags;
}
private void setLoading()
@@ -117,7 +117,7 @@ namespace osu.Game.Screens.SelectV2
Add(overflowButton = new TagsOverflowButton(tags)
{
Alpha = 0f,
PerformSearch = PerformSearch,
PerformSearch = s => PerformSearch?.Invoke(s),
});
drawSizeLayout.Invalidate();
@@ -135,7 +135,7 @@ namespace osu.Game.Screens.SelectV2
public float LineBaseHeight => text.LineBaseHeight;
public Action<string>? PerformSearch { get; set; }
public Action<string>? PerformSearch { get; init; }
public TagsOverflowButton(string[] tags)
{