1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:52:54 +08:00

Fix around some comments

This commit is contained in:
Alden Wu 2022-07-19 02:25:14 -07:00
parent d213f56f79
commit e1f7db6e7d
2 changed files with 5 additions and 2 deletions

View File

@ -58,6 +58,9 @@ namespace osu.Game.Rulesets.Osu.Skinning
private void updateStateTransforms(DrawableHitObject drawableObject, ArmedState state) private void updateStateTransforms(DrawableHitObject drawableObject, ArmedState state)
{ {
// We only want DrawableSlider here. DrawableSliderTail doesn't quite work because its
// HitStateUpdateTime is ~36ms before DrawableSlider's HitStateUpdateTime (aka slider
// end leniency).
if (drawableObject is not DrawableSlider) if (drawableObject is not DrawableSlider)
return; return;

View File

@ -44,8 +44,8 @@ namespace osu.Game.Rulesets.Osu.Skinning
} }
/// <summary> /// <summary>
/// Sealed empty. Override <see cref="OnSliderBreak" /> instead, since animations /// Sealed empty intentionally. Override <see cref="OnSliderBreak" /> instead, since
/// should only play on slider ticks. /// animations should only play on slider ticks.
/// </summary> /// </summary>
protected sealed override void OnSliderRelease() protected sealed override void OnSliderRelease()
{ {