mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 14:37:39 +09:00
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:
commit
6f67e3ba12
@ -45,6 +45,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
protected override bool OnKeyDown(KeyDownEvent e)
|
protected override bool OnKeyDown(KeyDownEvent e)
|
||||||
{
|
{
|
||||||
|
if (e.ControlPressed || e.AltPressed || e.SuperPressed || e.ShiftPressed)
|
||||||
|
return false;
|
||||||
|
|
||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
case Key.Up:
|
case Key.Up:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user