Merge pull request #22016 from peppy/fix-volume-controls-chat-text-box

Fix default volume control keys not working when chat textbox is focused
This commit is contained in:
Salman Ahmed 2023-01-03 20:46:38 +03:00 committed by GitHub
commit 6f67e3ba12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,9 @@ namespace osu.Game.Graphics.UserInterface
protected override bool OnKeyDown(KeyDownEvent e)
{
if (e.ControlPressed || e.AltPressed || e.SuperPressed || e.ShiftPressed)
return false;
switch (e.Key)
{
case Key.Up: