mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Convert ModSearchContainer
to block-scoped namespace
This commit is contained in:
parent
5aca3a78da
commit
4d235105d1
@ -3,23 +3,24 @@
|
||||
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Overlays.Mods;
|
||||
|
||||
public partial class ModSearchContainer : SearchContainer
|
||||
namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
/// <summary>
|
||||
/// A string that should match the <see cref="IFilterable"/> children
|
||||
/// </summary>
|
||||
public string ForcedSearchTerm
|
||||
public partial class ModSearchContainer : SearchContainer
|
||||
{
|
||||
get => SearchTerm;
|
||||
set
|
||||
/// <summary>
|
||||
/// A string that should match the <see cref="IFilterable"/> children
|
||||
/// </summary>
|
||||
public string ForcedSearchTerm
|
||||
{
|
||||
if (value == SearchTerm)
|
||||
return;
|
||||
get => SearchTerm;
|
||||
set
|
||||
{
|
||||
if (value == SearchTerm)
|
||||
return;
|
||||
|
||||
SearchTerm = value;
|
||||
Update();
|
||||
SearchTerm = value;
|
||||
Update();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user