mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 03:33:20 +08:00
Fix SkinEditorChangeHandler
not actually storing initial state
This commit is contained in:
parent
f84f6b78d9
commit
66ca744843
@ -34,7 +34,7 @@ namespace osu.Game.Overlays.SkinEditor
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
components = new BindableList<ISerialisableDrawable> { BindTarget = firstTarget.Components };
|
components = new BindableList<ISerialisableDrawable> { BindTarget = firstTarget.Components };
|
||||||
components.BindCollectionChanged((_, _) => SaveState());
|
components.BindCollectionChanged((_, _) => SaveState(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void WriteCurrentStateToStream(MemoryStream stream)
|
protected override void WriteCurrentStateToStream(MemoryStream stream)
|
||||||
|
Loading…
Reference in New Issue
Block a user