1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 23:17:18 +08:00

Move readonly field above ctor

This commit is contained in:
Dan Balasescu 2018-09-20 13:17:17 +09:00 committed by GitHub
parent 309d8c8cb4
commit 4b907336c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@ namespace osu.Game.Rulesets.UI.Scrolling
private Cached initialStateCache = new Cached();
private readonly ISpeedChangeVisualiser speedChangeVisualiser;
public ScrollingHitObjectContainer(SpeedChangeVisualisationMethod visualisationMethod)
{
RelativeSizeAxes = Axes.Both;
@ -53,8 +55,6 @@ namespace osu.Game.Rulesets.UI.Scrolling
}
}
private readonly ISpeedChangeVisualiser speedChangeVisualiser;
public override void Add(DrawableHitObject hitObject)
{
initialStateCache.Invalidate();