mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Fix focused overlays not blocking select action
This commit is contained in:
parent
9d8060d5e0
commit
3308f8f823
@ -69,10 +69,13 @@ namespace osu.Game.Graphics.Containers
|
|||||||
|
|
||||||
public virtual bool OnPressed(GlobalAction action)
|
public virtual bool OnPressed(GlobalAction action)
|
||||||
{
|
{
|
||||||
if (action == GlobalAction.Back)
|
switch (action)
|
||||||
{
|
{
|
||||||
State = Visibility.Hidden;
|
case GlobalAction.Back:
|
||||||
return true;
|
State = Visibility.Hidden;
|
||||||
|
return true;
|
||||||
|
case GlobalAction.Select:
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user