mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
fix with new event
This commit is contained in:
@ -24,11 +24,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
editorBeatmap.HitObjectUpdated += hitObjectUpdated;
|
||||
editorBeatmap.SelectionBlueprintsShouldBeSorted += SortInternal;
|
||||
}
|
||||
|
||||
private void hitObjectUpdated(HitObject _) => SortInternal();
|
||||
|
||||
public override void Add(SelectionBlueprint<HitObject> drawable)
|
||||
{
|
||||
SortInternal();
|
||||
@ -72,7 +70,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
if (editorBeatmap != null)
|
||||
editorBeatmap.HitObjectUpdated -= hitObjectUpdated;
|
||||
editorBeatmap.SelectionBlueprintsShouldBeSorted -= SortInternal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user