mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 13:23:05 +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:
commit
f1f820bec3
@ -188,7 +188,10 @@ namespace osu.Game.Overlays.SkinEditor
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (skinEditor.State.Value == Visibility.Visible)
|
if (skinEditor.State.Value == Visibility.Visible)
|
||||||
|
{
|
||||||
|
skinEditor.Save(false);
|
||||||
skinEditor.UpdateTargetScreen(target);
|
skinEditor.UpdateTargetScreen(target);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
skinEditor.Hide();
|
skinEditor.Hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user