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:
parent
16a2e63bd4
commit
3fd8de3b91
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user