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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user