1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 19:40:09 +08:00
Files
osu-lazer/osu.Game/Input
T
Dean Herbert 995c244cee Remove alt-mousewheel bindings for volume adjustment
With the recent changes to the order of processing key bindings
(`GlobalAction`s are handled first), having the alt-wheel bindings in here causes a
regression as they are handled before `OnScroll` events.

Specifically, this means editor alt-scroll functionality no longer works
with the default bindings.

Removing the bindings fixes this, while also still allowing alt-wheel
adjustment of the volume via `VolumeControlReceptor`:

https://github.com/ppy/osu/blob/a2f50af4243dfde95ec556859666b65e34f3007b/osu.Game/Overlays/Volume/VolumeControlReceptor.cs#L21-L26

In conjunction with the special case in `OsuScrollContainer`:

https://github.com/ppy/osu/blob/02d5b1352b6c9971ea83a131c0d2637e167b56b3/osu.Game/Graphics/Containers/OsuScrollContainer.cs#L103-L105
995c244cee · 2021-04-12 14:00:32 +09:00
History
..
2021-03-29 22:17:17 +09:00