mirror of
https://github.com/osukey/osukey.git
synced 2025-07-23 03:10:05 +09:00
Expand on comment
This commit is contained in:
@ -413,7 +413,8 @@ namespace osu.Game.Screens.Select
|
|||||||
protected override bool OnKeyDown(KeyDownEvent e)
|
protected override bool OnKeyDown(KeyDownEvent e)
|
||||||
{
|
{
|
||||||
// allow for controlling volume when alt is held.
|
// 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)
|
if (e.AltPressed)
|
||||||
return base.OnKeyDown(e);
|
return base.OnKeyDown(e);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user