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

Rename OsuSkinComponents.SmokeTrail to CursorSmoke

This commit is contained in:
Alden Wu 2022-10-05 19:11:38 -07:00
parent 2c0cd9ea52
commit 49e023f861
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Osu
SliderBall, SliderBall,
SliderBody, SliderBody,
SpinnerBody, SpinnerBody,
SmokeTrail, CursorSmoke,
ApproachCircle, ApproachCircle,
} }
} }

View File

@ -106,7 +106,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
return null; return null;
case OsuSkinComponents.SmokeTrail: case OsuSkinComponents.CursorSmoke:
if (GetTexture("cursor-smoke") != null) if (GetTexture("cursor-smoke") != null)
return new LegacySmokeSegment(); return new LegacySmokeSegment();

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.UI
{ {
if (e.Action == OsuAction.Smoke) if (e.Action == OsuAction.Smoke)
{ {
AddInternal(currentSegmentSkinnable = new SkinnableDrawable(new OsuSkinComponent(OsuSkinComponents.SmokeTrail), _ => new DefaultSmokeSegment())); AddInternal(currentSegmentSkinnable = new SkinnableDrawable(new OsuSkinComponent(OsuSkinComponents.CursorSmoke), _ => new DefaultSmokeSegment()));
// Add initial position immediately. // Add initial position immediately.
addPosition(); addPosition();