mirror of https://github.com/ppy/osu
rename field rotate to spin
This commit is contained in:
parent
eb065286ae
commit
76aabdd297
|
@ -18,11 +18,11 @@ public LegacyCursor(bool spin = true)
|
|||
Anchor = Anchor.Centre;
|
||||
Origin = Anchor.Centre;
|
||||
|
||||
rotate = spin;
|
||||
this.spin = spin;
|
||||
}
|
||||
|
||||
private NonPlayfieldSprite cursor;
|
||||
private readonly bool rotate;
|
||||
private readonly bool spin;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ISkinSource skin)
|
||||
|
@ -46,7 +46,7 @@ private void load(ISkinSource skin)
|
|||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
if (rotate)
|
||||
if (spin)
|
||||
cursor.Spin(10000, RotationDirection.Clockwise);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue