1
0
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:
Dean Herbert
2025-01-20 18:55:28 +09:00
Unverified
parent 9a12f48dcc
commit aeca91cde2
+9
View File
@@ -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;