Add support for right mouse absolute scrolling (when enabled)

Will likely need to be bindable when hooked up to settings and actually used.
This commit is contained in:
Dean Herbert
2017-07-12 18:57:44 +09:00
parent a5d0bfb02f
commit 9d47dd9ff9
10 changed files with 86 additions and 8 deletions

View File

@ -12,6 +12,7 @@ using System;
using osu.Framework.Allocation;
using osu.Framework.Threading;
using osu.Game.Database;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Rulesets.Scoring;
using osu.Game.Online.API;
@ -74,7 +75,7 @@ namespace osu.Game.Screens.Select.Leaderboards
{
Children = new Drawable[]
{
scrollContainer = new ScrollContainer
scrollContainer = new OsuScrollContainer
{
RelativeSizeAxes = Axes.Both,
ScrollbarVisible = false,