Make hitobject samples a bindable list

This commit is contained in:
smoogipoo
2019-11-08 14:04:57 +09:00
parent 864b8db638
commit 6fc1be64c2
15 changed files with 30 additions and 25 deletions

View File

@ -222,7 +222,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
{
case ThreeStates.Disabled:
foreach (var h in SelectedHitObjects)
h.Samples.RemoveAll(s => s.Name == sampleName);
h.SamplesBindable.RemoveAll(s => s.Name == sampleName);
break;
case ThreeStates.Enabled: