1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

Add new dropdown properties to SettingsDropdown

This commit is contained in:
Salman Ahmed 2023-12-05 22:49:43 +03:00
parent a67df76654
commit d92db8059e

View File

@ -16,6 +16,18 @@ namespace osu.Game.Overlays.Settings
{
protected new OsuDropdown<T> Control => (OsuDropdown<T>)base.Control;
public bool AlwaysShowSearchBar
{
get => Control.AlwaysShowSearchBar;
set => Control.AlwaysShowSearchBar = value;
}
public bool AllowNonContiguousMatching
{
get => Control.AllowNonContiguousMatching;
set => Control.AllowNonContiguousMatching = value;
}
public IEnumerable<T> Items
{
get => Control.Items;