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:
parent
2c0cd9ea52
commit
49e023f861
@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Osu
|
|||||||
SliderBall,
|
SliderBall,
|
||||||
SliderBody,
|
SliderBody,
|
||||||
SpinnerBody,
|
SpinnerBody,
|
||||||
SmokeTrail,
|
CursorSmoke,
|
||||||
ApproachCircle,
|
ApproachCircle,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user