mirror of
https://github.com/ppy/osu
synced 2024-12-28 09:52:56 +00:00
Fix volume not being adjustable in the editor using alt-scroll
We do this in other places so I think it's fine to handle like this for now (until we come up with a better global solution). Closes #10958.
This commit is contained in:
parent
d5a4d46c6d
commit
d4c6d6275e
@ -375,6 +375,9 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
protected override bool OnScroll(ScrollEvent e)
|
||||
{
|
||||
if (e.ControlPressed || e.AltPressed || e.SuperPressed)
|
||||
return false;
|
||||
|
||||
const double precision = 1;
|
||||
|
||||
double scrollComponent = e.ScrollDelta.X + e.ScrollDelta.Y;
|
||||
|
Loading…
Reference in New Issue
Block a user