mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 08:07:40 +08:00
26 lines
625 B
C#
26 lines
625 B
C#
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|||
|
// See the LICENCE file in the repository root for full licence text.
|
|||
|
|
|||
|
using osu.Framework.Graphics.Containers;
|
|||
|
|
|||
|
namespace osu.Game.Overlays.Mods;
|
|||
|
|
|||
|
public partial class ModSearchContainer : SearchContainer
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// A string that should match the <see cref="IFilterable"/> children
|
|||
|
/// </summary>
|
|||
|
public string ForcedSearchTerm
|
|||
|
{
|
|||
|
get => SearchTerm;
|
|||
|
set
|
|||
|
{
|
|||
|
if (value == SearchTerm)
|
|||
|
return;
|
|||
|
|
|||
|
SearchTerm = value;
|
|||
|
Update();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|