Fix default volume control keys not working when chat textbox is focused

Closes #22004.
This commit is contained in:
Dean Herbert 2023-01-03 09:44:34 +08:00
parent 53cc71c2fe
commit ac85433178

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: