mirror of
https://github.com/ppy/osu
synced 2025-03-11 05:49:12 +00:00
Fix skin editor potentially eating GlobalAction.Back
when not displayed
This commit is contained in:
parent
3fd8de3b91
commit
21053381c7
@ -37,7 +37,9 @@ namespace osu.Game.Skinning.Editor
|
|||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
case GlobalAction.Back:
|
case GlobalAction.Back:
|
||||||
if (skinEditor?.State.Value == Visibility.Visible)
|
if (skinEditor?.State.Value != Visibility.Visible)
|
||||||
|
break;
|
||||||
|
|
||||||
Hide();
|
Hide();
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user