mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 01:23:44 +08:00
Save any unsaved changes in the skin editor when game changes screens
Closes https://github.com/ppy/osu/issues/25494.
This commit is contained in:
parent
21bf288277
commit
aa749aeb73
@ -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