Remove no longer necessary interface type

This commit is contained in:
Dean Herbert
2023-01-18 15:11:13 +09:00
parent f9dd3f6def
commit e8770b84cd
5 changed files with 16 additions and 30 deletions

View File

@ -121,7 +121,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
AddUntilStep("all interactive elements removed", () => this.ChildrenOfType<Player>().All(p =>
!p.ChildrenOfType<PlayerSettingsOverlay>().Any() &&
!p.ChildrenOfType<HoldForMenuButton>().Any() &&
p.ChildrenOfType<ISongProgressBar>().SingleOrDefault()?.Interactive == false));
p.ChildrenOfType<ArgonSongProgressBar>().SingleOrDefault()?.Interactive == false));
AddStep("restore config hud visibility", () => config.SetValue(OsuSetting.HUDVisibilityMode, originalConfigValue));
}