mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 04:32:57 +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
|
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user