mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:02:54 +08:00
Move collection change event binding to LoadComplete
This commit is contained in:
parent
32652ace75
commit
9c46592e0e
@ -33,8 +33,10 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
protected abstract OsuRearrangeableListItem<TModel> CreateOsuDrawable(TModel item);
|
||||
|
||||
protected OsuRearrangeableListContainer()
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
Items.CollectionChanged += (_, args) =>
|
||||
{
|
||||
if (args.Action == NotifyCollectionChangedAction.Move)
|
||||
|
Loading…
Reference in New Issue
Block a user