1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 05:23:21 +08:00

Add support to CarouselV2 for right mouse button scrolling

This commit is contained in:
Dean Herbert 2025-01-16 19:42:10 +09:00
parent 56b450c4a6
commit 1c2621d88e
No known key found for this signature in database

View File

@ -121,6 +121,7 @@ namespace osu.Game.Screens.SelectV2
}, },
scroll = new CarouselScrollContainer scroll = new CarouselScrollContainer
{ {
RightMouseScrollbar = true,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Masking = false, Masking = false,
} }
@ -390,7 +391,7 @@ namespace osu.Game.Screens.SelectV2
/// Implementation of scroll container which handles very large vertical lists by internally using <c>double</c> precision /// Implementation of scroll container which handles very large vertical lists by internally using <c>double</c> precision
/// for pre-display Y values. /// for pre-display Y values.
/// </summary> /// </summary>
private partial class CarouselScrollContainer : OsuScrollContainer private partial class CarouselScrollContainer : UserTrackingScrollContainer
{ {
public readonly Container Panels; public readonly Container Panels;