1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 09:42:57 +08:00

Fix skin editor's fake overlay potentially getting into a bad state

This commit is contained in:
Dean Herbert 2021-07-22 15:57:47 +09:00
parent 16a2e63bd4
commit 3fd8de3b91

View File

@ -59,14 +59,13 @@ namespace osu.Game.Skinning.Editor
public override void Hide()
{
base.Hide();
// base call intentionally omitted.
skinEditor.Hide();
}
public override void Show()
{
base.Show();
// base call intentionally omitted.
if (skinEditor == null)
{
LoadComponentAsync(skinEditor = new SkinEditor(target), AddInternal);