mirror of https://github.com/ppy/osu
Fix accessing incorrect items list in event
This commit is contained in:
parent
b7849dd91a
commit
a1bfb18ce0
|
@ -58,7 +58,7 @@ public SliderPath()
|
|||
break;
|
||||
|
||||
case NotifyCollectionChangedAction.Remove:
|
||||
foreach (var c in args.NewItems.Cast<PathControlPoint>())
|
||||
foreach (var c in args.OldItems.Cast<PathControlPoint>())
|
||||
c.Changed -= invalidate;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue