mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 15:42:54 +08:00
Merge pull request #29745 from Ianlucht/fix-beatmap-artist-and-title-search-to-include-double-quotes-resolves#29708
Double-quote in beatmap listing when searching by artist/title
This commit is contained in:
commit
02eb6835e3
@ -242,7 +242,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
title.Clear();
|
title.Clear();
|
||||||
artist.Clear();
|
artist.Clear();
|
||||||
|
|
||||||
title.AddLink(titleText, LinkAction.SearchBeatmapSet, titleText);
|
title.AddLink(titleText, LinkAction.SearchBeatmapSet, $@"title=""""{titleText}""""");
|
||||||
|
|
||||||
title.AddArbitraryDrawable(Empty().With(d => d.Width = 5));
|
title.AddArbitraryDrawable(Empty().With(d => d.Width = 5));
|
||||||
title.AddArbitraryDrawable(externalLink = new ExternalLinkButton());
|
title.AddArbitraryDrawable(externalLink = new ExternalLinkButton());
|
||||||
@ -259,7 +259,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
title.AddArbitraryDrawable(new SpotlightBeatmapBadge());
|
title.AddArbitraryDrawable(new SpotlightBeatmapBadge());
|
||||||
}
|
}
|
||||||
|
|
||||||
artist.AddLink(artistText, LinkAction.SearchBeatmapSet, artistText);
|
artist.AddLink(artistText, LinkAction.SearchBeatmapSet, $@"artist=""""{artistText}""""");
|
||||||
|
|
||||||
if (setInfo.NewValue.TrackId != null)
|
if (setInfo.NewValue.TrackId != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user