mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Update disctop to use turnratio like stable
This commit is contained in:
parent
40f612435d
commit
e3ab7b1e9f
@ -135,7 +135,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
|||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
base.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;
|
discBottom.Rotation = discTop.Rotation / 3;
|
||||||
|
|
||||||
glow.Alpha = DrawableSpinner.Progress;
|
glow.Alpha = DrawableSpinner.Progress;
|
||||||
|
Loading…
Reference in New Issue
Block a user