mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 09:21:17 +08:00
Fix main menu osu logo being activated by function keys and escape
This commit is contained in:
@@ -245,6 +245,15 @@ namespace osu.Game.Screens.Menu
|
||||
if (e.Repeat || e.ControlPressed || e.ShiftPressed || e.AltPressed || e.SuperPressed)
|
||||
return false;
|
||||
|
||||
if (e.Key >= Key.F1 && e.Key <= Key.F35)
|
||||
return false;
|
||||
|
||||
switch (e.Key)
|
||||
{
|
||||
case Key.Escape:
|
||||
return false;
|
||||
}
|
||||
|
||||
if (triggerInitialOsuLogo())
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user