mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Fix default volume control keys not working when chat textbox is focused
Closes #22004.
This commit is contained in:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user