mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:57:24 +08:00
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 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
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
Block a user