Merge branch 'new-combo-editor-toggle' into fix-taiko-change-handling

This commit is contained in:
Dean Herbert 2020-09-23 17:08:27 +09:00
commit ccb3ef5020

View File

@ -376,7 +376,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
TernaryState getHitSampleState() TernaryState getHitSampleState()
{ {
int countExisting = selectedBlueprints.Select(b => b.HitObject as IHasComboInformation).Count(h => h.NewCombo); int countExisting = selectedBlueprints.Select(b => (IHasComboInformation)b.HitObject).Count(h => h.NewCombo);
if (countExisting == 0) if (countExisting == 0)
return TernaryState.False; return TernaryState.False;