1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-29 02:52:54 +08:00

Convert ModSearchContainer to block-scoped namespace

This commit is contained in:
Cootz 2023-05-07 15:14:49 +03:00
parent 5aca3a78da
commit 4d235105d1

View File

@ -3,23 +3,24 @@
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
namespace osu.Game.Overlays.Mods; namespace osu.Game.Overlays.Mods
public partial class ModSearchContainer : SearchContainer
{ {
/// <summary> public partial class ModSearchContainer : SearchContainer
/// A string that should match the <see cref="IFilterable"/> children
/// </summary>
public string ForcedSearchTerm
{ {
get => SearchTerm; /// <summary>
set /// A string that should match the <see cref="IFilterable"/> children
/// </summary>
public string ForcedSearchTerm
{ {
if (value == SearchTerm) get => SearchTerm;
return; set
{
if (value == SearchTerm)
return;
SearchTerm = value; SearchTerm = value;
Update(); Update();
}
} }
} }
} }