Remove all unnecessary usage of IHasFilterableChildren

This commit is contained in:
Bartłomiej Dach
2022-11-16 15:54:52 +09:00
committed by Dean Herbert
parent 96e19d4d84
commit 24deb5f5f4
3 changed files with 2 additions and 8 deletions

View File

@ -62,7 +62,6 @@ namespace osu.Game.Tests.Visual.Settings
section.Children.Where(f => f.IsPresent)
.OfType<ISettingsItem>()
.OfType<IFilterable>()
.Where(f => !(f is IHasFilterableChildren))
.All(f => f.FilterTerms.Any(t => t.ToString().Contains("scaling")))
));