1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:12:57 +08:00

Merge branch 'master' into skin-size-editing

This commit is contained in:
Bartłomiej Dach 2023-11-11 19:56:09 +09:00 committed by GitHub
commit 8d7539ab70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,7 +406,14 @@ namespace osu.Game.Overlays.SkinEditor
cp.Colour = colours.Yellow; cp.Colour = colours.Yellow;
}); });
changeHandler?.Dispose();
skins.EnsureMutableSkin(); skins.EnsureMutableSkin();
var targetContainer = getTarget(selectedTarget.Value);
if (targetContainer != null)
changeHandler = new SkinEditorChangeHandler(targetContainer);
hasBegunMutating = true; hasBegunMutating = true;
} }