Skip to content

Commit

Permalink
Resolve breaking changes and obsoletions
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Feb 5, 2022
1 parent 126c5e3 commit 23e353f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Tau/Mods/TauModFlashlight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class TauModFlashlight : ModFlashlight<TauHitObject>
public override float DefaultFlashlightSize => 180;

[SettingSource("Flashlight size", "Multiplier applied to the default flashlight size.")]
public override BindableNumber<float> SizeMultiplier { get; } = new BindableNumber<float>
public override BindableFloat SizeMultiplier { get; } = new BindableFloat
{
MinValue = 0.5f,
MaxValue = 1.5f,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected Vector2 Position
}
}

public override void CollectPendingInputs(List<IInput> inputs)
protected override void CollectReplayInputs(List<IInput> inputs)
{
inputs.Add(new MousePositionAbsoluteInput
{
Expand Down
12 changes: 6 additions & 6 deletions osu.Game.Rulesets.Tau/TauRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,32 +123,32 @@ public override StatisticRow[] CreateStatisticsForScore(ScoreInfo score, IBeatma
{
Columns = new[]
{
new StatisticItem("Timing Distribution", new HitEventTimingDistributionGraph(score.HitEvents)
new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(score.HitEvents)
{
RelativeSizeAxes = Axes.X,
Height = 250
}),
}, true),
}
},
new StatisticRow
{
Columns = new[]
{
new StatisticItem("Paddle Distribution", new PaddleDistributionGraph(score.HitEvents, playableBeatmap)
new StatisticItem("Paddle Distribution", () => new PaddleDistributionGraph(score.HitEvents, playableBeatmap)
{
RelativeSizeAxes = Axes.X,
Height = 250,
})
}, true)
}
},
new StatisticRow
{
Columns = new[]
{
new StatisticItem(string.Empty, new SimpleStatisticTable(3, new SimpleStatisticItem[]
new StatisticItem(string.Empty, ()=>new SimpleStatisticTable(3, new SimpleStatisticItem[]
{
new UnstableRate(score.HitEvents)
}))
}), true)
}
}
};
Expand Down

0 comments on commit 23e353f

Please sign in to comment.