mirror of
https://github.com/ppy/osu
synced 2024-12-28 09:52:56 +00:00
Fix individual control points not being removed from group when group is removed
This commit is contained in:
parent
d6fe5482d3
commit
f501c88b46
@ -158,6 +158,9 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
public void RemoveGroup(ControlPointGroup group)
|
||||
{
|
||||
foreach (var item in group.ControlPoints.ToArray())
|
||||
group.Remove(item);
|
||||
|
||||
group.ItemAdded -= groupItemAdded;
|
||||
group.ItemRemoved -= groupItemRemoved;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user