Inline add of spm calculation (no need for it to be a separate call)

This commit is contained in:
Dean Herbert 2021-03-30 13:43:05 +09:00
parent f848ef5347
commit 9504fe3f3c
1 changed files with 4 additions and 5 deletions

View File

@ -69,13 +69,12 @@ private void load(OsuColour colours)
Origin = Anchor.Centre;
RelativeSizeAxes = Axes.Both;
AddInternal(spmCalculator = new SpinnerSpmCalculator
{
Result = { BindTarget = SpinsPerMinute },
});
AddRangeInternal(new Drawable[]
{
spmCalculator = new SpinnerSpmCalculator
{
Result = { BindTarget = SpinsPerMinute },
},
ticks = new Container<DrawableSpinnerTick>(),
new AspectContainer
{