1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 09:53:50 +08:00

Attempt to prevent main menu osu! logo being triggered by media keys (#35825)

Maybe addresses https://github.com/ppy/osu/discussions/35813. I can't
reproduce on macOS, may be a $USER_OS idiosyncrasy.
This commit is contained in:
Bartłomiej Dach
2025-11-27 12:58:47 +01:00
committed by GitHub
Unverified
parent ddfcb4d6da
commit 6244617e5e
+3
View File
@@ -286,6 +286,9 @@ namespace osu.Game.Screens.Menu
if (e.Key >= Key.F1 && e.Key <= Key.F35)
return false;
if (e.Key >= Key.Mute && e.Key <= Key.TrackNext)
return false;
switch (e.Key)
{
case Key.Escape: