1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Mark settings elements as matching filter by default to handle cases where no filtering is provided

This commit is contained in:
Dean Herbert 2022-04-14 23:02:00 +09:00
parent 316c0845ec
commit c57a918bbb
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ namespace osu.Game.Overlays.Settings
public override bool IsPresent => MatchingFilter;
public bool MatchingFilter { get; set; }
public bool MatchingFilter { get; set; } = true;
public bool FilteringActive { get; set; }

View File

@ -38,7 +38,7 @@ namespace osu.Game.Overlays.Settings
private const int header_size = 24;
private const int border_size = 4;
public bool MatchingFilter { get; set; }
public bool MatchingFilter { get; set; } = true;
public bool FilteringActive { get; set; }