mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +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;
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user