1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:13:34 +08:00

Merge pull request #25523 from peppy/save-skin-on-screen-change

Save any unsaved changes in the skin editor when game changes screens
This commit is contained in:
Bartłomiej Dach 2023-11-22 14:19:57 +09:00 committed by GitHub
commit f1f820bec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,10 @@ namespace osu.Game.Overlays.SkinEditor
}
if (skinEditor.State.Value == Visibility.Visible)
{
skinEditor.Save(false);
skinEditor.UpdateTargetScreen(target);
}
else
{
skinEditor.Hide();