mirror of https://github.com/ppy/osu
Inline add of spm calculation (no need for it to be a separate call)
This commit is contained in:
parent
f848ef5347
commit
9504fe3f3c
|
@ -69,13 +69,12 @@ private void load(OsuColour colours)
|
||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
AddInternal(spmCalculator = new SpinnerSpmCalculator
|
|
||||||
{
|
|
||||||
Result = { BindTarget = SpinsPerMinute },
|
|
||||||
});
|
|
||||||
|
|
||||||
AddRangeInternal(new Drawable[]
|
AddRangeInternal(new Drawable[]
|
||||||
{
|
{
|
||||||
|
spmCalculator = new SpinnerSpmCalculator
|
||||||
|
{
|
||||||
|
Result = { BindTarget = SpinsPerMinute },
|
||||||
|
},
|
||||||
ticks = new Container<DrawableSpinnerTick>(),
|
ticks = new Container<DrawableSpinnerTick>(),
|
||||||
new AspectContainer
|
new AspectContainer
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue