mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Merge pull request #26562 from kyubxy/spinner-speed-fix
Make spinner-top and spinner-middle2 spin at different speeds to match stable
This commit is contained in:
commit
658fa14a92
@ -135,7 +135,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
spinningMiddle.Rotation = discTop.Rotation = DrawableSpinner.RotationTracker.Rotation;
|
||||
|
||||
float turnRatio = spinningMiddle.Texture != null ? 0.5f : 1;
|
||||
discTop.Rotation = DrawableSpinner.RotationTracker.Rotation * turnRatio;
|
||||
spinningMiddle.Rotation = DrawableSpinner.RotationTracker.Rotation;
|
||||
|
||||
discBottom.Rotation = discTop.Rotation / 3;
|
||||
|
||||
glow.Alpha = DrawableSpinner.Progress;
|
||||
|
Loading…
Reference in New Issue
Block a user