mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 22:57:31 +09:00
Fix early return causing event loss in case of multiple control points in group
This commit is contained in:
parent
015df282fe
commit
1aaea7011a
@ -46,10 +46,7 @@ namespace osu.Game.Beatmaps.Legacy
|
||||
protected override void GroupItemAdded(ControlPoint controlPoint)
|
||||
{
|
||||
if (controlPoint is SampleControlPoint typed)
|
||||
{
|
||||
samplePoints.Add(typed);
|
||||
return;
|
||||
}
|
||||
|
||||
base.GroupItemAdded(controlPoint);
|
||||
}
|
||||
@ -57,10 +54,7 @@ namespace osu.Game.Beatmaps.Legacy
|
||||
protected override void GroupItemRemoved(ControlPoint controlPoint)
|
||||
{
|
||||
if (controlPoint is SampleControlPoint typed)
|
||||
{
|
||||
samplePoints.Remove(typed);
|
||||
return;
|
||||
}
|
||||
|
||||
base.GroupItemRemoved(controlPoint);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user