1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00

rename field rotate to spin

This commit is contained in:
mcendu 2019-12-09 12:11:04 +08:00
parent eb065286ae
commit 76aabdd297

View File

@ -18,11 +18,11 @@ namespace osu.Game.Rulesets.Osu.Skinning
Anchor = Anchor.Centre; Anchor = Anchor.Centre;
Origin = Anchor.Centre; Origin = Anchor.Centre;
rotate = spin; this.spin = spin;
} }
private NonPlayfieldSprite cursor; private NonPlayfieldSprite cursor;
private readonly bool rotate; private readonly bool spin;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(ISkinSource skin) private void load(ISkinSource skin)
@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
protected override void LoadComplete() protected override void LoadComplete()
{ {
if (rotate) if (spin)
cursor.Spin(10000, RotationDirection.Clockwise); cursor.Spin(10000, RotationDirection.Clockwise);
} }
} }