diff --git a/osu.Desktop.VisualTests/Tests/TestCaseScrollingHitObjects.cs b/osu.Desktop.VisualTests/Tests/TestCaseScrollingHitObjects.cs index 85272ac283..5a4b3deb05 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseScrollingHitObjects.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseScrollingHitObjects.cs @@ -130,7 +130,7 @@ namespace osu.Desktop.VisualTests.Tests { } - protected override DrawableTimingSection CreateTimingSection(MultiplierControlPoint controlPoint) => new TestDrawableTimingSection(controlPoint); + protected override DrawableTimingSection CreateTimingSection() => new TestDrawableTimingSection(ControlPoint); private class TestDrawableTimingSection : DrawableTimingSection { diff --git a/osu.Game.Rulesets.Mania/Timing/ManiaSpeedAdjustmentContainer.cs b/osu.Game.Rulesets.Mania/Timing/ManiaSpeedAdjustmentContainer.cs index 91eaad3258..ed22264d74 100644 --- a/osu.Game.Rulesets.Mania/Timing/ManiaSpeedAdjustmentContainer.cs +++ b/osu.Game.Rulesets.Mania/Timing/ManiaSpeedAdjustmentContainer.cs @@ -15,15 +15,15 @@ namespace osu.Game.Rulesets.Mania.Timing this.scrollingAlgorithm = scrollingAlgorithm; } - protected override DrawableTimingSection CreateTimingSection(MultiplierControlPoint controlPoint) + protected override DrawableTimingSection CreateTimingSection() { switch (scrollingAlgorithm) { default: case ScrollingAlgorithm.Basic: - return new BasicScrollingDrawableTimingSection(controlPoint); + return new BasicScrollingDrawableTimingSection(ControlPoint); case ScrollingAlgorithm.Gravity: - return new GravityScrollingDrawableTimingSection(controlPoint); + return new GravityScrollingDrawableTimingSection(ControlPoint); } } } diff --git a/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs b/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs index 6b8073c909..af9a79adb5 100644 --- a/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs +++ b/osu.Game/Rulesets/Timing/SpeedAdjustmentContainer.cs @@ -56,7 +56,7 @@ namespace osu.Game.Rulesets.Timing [BackgroundDependencyLoader] private void load() { - DrawableTimingSection timingSection = CreateTimingSection(ControlPoint); + DrawableTimingSection timingSection = CreateTimingSection(); timingSection.ScrollingAxes = ScrollingAxes; timingSection.VisibleTimeRange.BindTo(VisibleTimeRange); @@ -88,6 +88,6 @@ namespace osu.Game.Rulesets.Timing /// Creates the container which handles the movement of a collection of hit objects. /// /// The . - protected abstract DrawableTimingSection CreateTimingSection(MultiplierControlPoint controlPoint); + protected abstract DrawableTimingSection CreateTimingSection(); } } \ No newline at end of file