mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Add comment
This commit is contained in:
parent
a04f4b76bb
commit
a85653ebec
@ -85,6 +85,8 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
protected override bool OnScroll(ScrollEvent e)
|
||||
{
|
||||
// allow for controlling volume when alt is held.
|
||||
// mostly for compatibility with osu-stable.
|
||||
if (e.AltPressed) return false;
|
||||
|
||||
return base.OnScroll(e);
|
||||
|
Loading…
Reference in New Issue
Block a user