mirror of https://github.com/ppy/osu
Add comment for alt pressed
Taken from OsuScrollContainer
This commit is contained in:
parent
2060be345d
commit
b42b23d65b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue