Add comment for alt pressed

Taken from OsuScrollContainer
This commit is contained in:
Joehu 2020-01-14 20:52:15 -08:00
parent 2060be345d
commit b42b23d65b
1 changed files with 2 additions and 0 deletions

View File

@ -412,6 +412,8 @@ void perform()
protected override bool OnKeyDown(KeyDownEvent e)
{
// allow for controlling volume when alt is held.
// mostly for compatibility with osu-stable.
if (e.AltPressed)
return base.OnKeyDown(e);