1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 04:39:54 +08:00

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
Unverified
parent 53cc71c2fe
commit ac85433178
@@ -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: