mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:22:56 +08:00
Fix SPM counter immediately disappearing on completion of spinners
This commit is contained in:
parent
296afd2d17
commit
5a6864eb78
@ -109,6 +109,9 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
base.OnFree();
|
||||
|
||||
spinningSample.Samples = null;
|
||||
|
||||
// the counter handles its own fade in (when spinning begins) so we should only be responsible for resetting it here, for pooling.
|
||||
SpmCounter.Hide();
|
||||
}
|
||||
|
||||
protected override void LoadSamples()
|
||||
|
@ -21,6 +21,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
|
||||
|
||||
private readonly OsuSpriteText spmText;
|
||||
|
||||
public override void ApplyTransformsAt(double time, bool propagateChildren = false)
|
||||
{
|
||||
// handles own fade in state.
|
||||
}
|
||||
|
||||
public SpinnerSpmCounter()
|
||||
{
|
||||
Children = new Drawable[]
|
||||
|
Loading…
Reference in New Issue
Block a user