mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fix skin editor potentially eating GlobalAction.Back
when not displayed
This commit is contained in:
@ -37,7 +37,9 @@ namespace osu.Game.Skinning.Editor
|
||||
switch (action)
|
||||
{
|
||||
case GlobalAction.Back:
|
||||
if (skinEditor?.State.Value == Visibility.Visible)
|
||||
if (skinEditor?.State.Value != Visibility.Visible)
|
||||
break;
|
||||
|
||||
Hide();
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user