mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 23:57:22 +08:00
Fix incorrect slider length in timeline when non-default velocity is inherited from previous object
This commit is contained in:
parent
57954bb8f5
commit
8af8adf22d
@ -89,6 +89,11 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
|
||||
HitObject.DifficultyControlPoint = nearestDifficultyPoint ?? new DifficultyControlPoint();
|
||||
HitObject.Position = ToLocalSpace(result.ScreenSpacePosition);
|
||||
|
||||
// Replacing the DifficultyControlPoint above doesn't trigger any kind of invalidation.
|
||||
// Without re-applying defaults, velocity won't be updated.
|
||||
// If this causes further issues, it may be better to copy the velocity p
|
||||
ApplyDefaultsToHitObject();
|
||||
break;
|
||||
|
||||
case SliderPlacementState.Body:
|
||||
|
Loading…
x
Reference in New Issue
Block a user