mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Rename rotation set method to match others
This commit is contained in:
parent
f48984920d
commit
4dd40542d5
@ -227,7 +227,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
Ticks.Rotation = Disc.Rotation;
|
Ticks.Rotation = Disc.Rotation;
|
||||||
|
|
||||||
SpmCounter.SetRotation(Disc.CumulativeRotation);
|
SpmCounter.SetRotation(Disc.CumulativeRotation);
|
||||||
bonusComponent.UpdateRotation(Disc.CumulativeRotation);
|
bonusComponent.SetRotation(Disc.CumulativeRotation);
|
||||||
|
|
||||||
float relativeCircleScale = Spinner.Scale * circle.DrawHeight / mainContainer.DrawHeight;
|
float relativeCircleScale = Spinner.Scale * circle.DrawHeight / mainContainer.DrawHeight;
|
||||||
float targetScale = relativeCircleScale + (1 - relativeCircleScale) * Progress;
|
float targetScale = relativeCircleScale + (1 - relativeCircleScale) * Progress;
|
||||||
|
@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
|||||||
|
|
||||||
private int currentSpins;
|
private int currentSpins;
|
||||||
|
|
||||||
public void UpdateRotation(double rotation)
|
public void SetRotation(double rotation)
|
||||||
{
|
{
|
||||||
if (ticks.Count == 0)
|
if (ticks.Count == 0)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user