mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 14:12:56 +08:00
Expand on comment
This commit is contained in:
parent
b42b23d65b
commit
e88e40eec4
@ -413,7 +413,8 @@ namespace osu.Game.Screens.Select
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
// allow for controlling volume when alt is held.
|
||||
// mostly for compatibility with osu-stable.
|
||||
// this is required as the VolumeControlReceptor uses OnPressed, which is
|
||||
// executed after all OnKeyDown events.
|
||||
if (e.AltPressed)
|
||||
return base.OnKeyDown(e);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user