1
0
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:
Dean Herbert 2020-01-15 15:11:36 +09:00
parent b42b23d65b
commit e88e40eec4

View File

@ -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);