mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 00:03:08 +08:00
Add support to CarouselV2 for right mouse button scrolling
This commit is contained in:
parent
56b450c4a6
commit
1c2621d88e
@ -121,6 +121,7 @@ namespace osu.Game.Screens.SelectV2
|
||||
},
|
||||
scroll = new CarouselScrollContainer
|
||||
{
|
||||
RightMouseScrollbar = true,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
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
|
||||
/// for pre-display Y values.
|
||||
/// </summary>
|
||||
private partial class CarouselScrollContainer : OsuScrollContainer
|
||||
private partial class CarouselScrollContainer : UserTrackingScrollContainer
|
||||
{
|
||||
public readonly Container Panels;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user