Skip to content

Add global alt scroll to adjust volume v2#38060

Open
RatinFX wants to merge 5 commits into
ppy:masterfrom
RatinFX:global-alt-scroll-adjusts-volume
Open

Add global alt scroll to adjust volume v2#38060
RatinFX wants to merge 5 commits into
ppy:masterfrom
RatinFX:global-alt-scroll-adjusts-volume

Conversation

@RatinFX

@RatinFX RatinFX commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The original PR became rather stale, so I wanted to help the case.

Original PR:

Relevant issues:

This solution

The solution in this PR uses a blocker Interface that can be added to Containers such as ZoomableScrollContainer.
Alongside that it removes the old GlobalScrollAdjustsVolume references.

Alternatively we can also go with the original PR's route and add more Containers to the blocked list in the future.

Tests

I manually scrolled through the app: in solo, in multi, in ranked play, in the editor + its timeline with the ZoomableScrollContainer.
I also updated the existing test cases and added an extra one.
It's a bit up for debate whether it's in the right place or needs to further be separated into its own test scene.

Comment thread osu.Game.Tests/Visual/UserInterface/TestSceneOverlayContainer.cs Fixed
Comment thread osu.Game.Tests/Visual/UserInterface/TestSceneOverlayContainer.cs Fixed
Comment thread osu.Game.Tests/Visual/UserInterface/TestSceneOverlayContainer.cs Fixed
Comment thread osu.Game.Tests/Visual/UserInterface/TestSceneOverlayContainer.cs Fixed
Comment thread osu.Game.Tests/Visual/UserInterface/TestSceneOverlayContainer.cs Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants