1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

Add comment

This commit is contained in:
Dean Herbert 2019-12-17 12:24:59 +09:00
parent a04f4b76bb
commit a85653ebec

View File

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