1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 21:02:56 +08:00

Fix SkinEditorChangeHandler not actually storing initial state

This commit is contained in:
Bartłomiej Dach 2024-10-16 14:23:16 +02:00
parent f84f6b78d9
commit 66ca744843
No known key found for this signature in database

View File

@ -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)