1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 20:44:26 +08:00

Expose base VisualisationMethod so we don't need to new it locally per ruleset

This commit is contained in:
Dean Herbert
2023-09-01 19:17:53 +09:00
Unverified
parent 0f5eff1230
commit 6ce251fbb5
2 changed files with 1 additions and 8 deletions
@@ -13,7 +13,6 @@ using osu.Framework.Graphics;
using osu.Framework.Input;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Configuration;
using osu.Game.Input.Handlers;
using osu.Game.Replays;
using osu.Game.Rulesets.Mania.Beatmaps;
@@ -51,12 +50,6 @@ namespace osu.Game.Rulesets.Mania.UI
protected new ManiaRulesetConfigManager Config => (ManiaRulesetConfigManager)base.Config;
public new ScrollVisualisationMethod VisualisationMethod
{
get => base.VisualisationMethod;
set => base.VisualisationMethod = value;
}
private readonly Bindable<ManiaScrollingDirection> configDirection = new Bindable<ManiaScrollingDirection>();
private readonly BindableInt configScrollSpeed = new BindableInt();
private double smoothTimeRange;
@@ -165,7 +165,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
private ScrollVisualisationMethod visualisationMethod = ScrollVisualisationMethod.Sequential;
protected ScrollVisualisationMethod VisualisationMethod
public ScrollVisualisationMethod VisualisationMethod
{
get => visualisationMethod;
set