mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Fix incorrect slider length in timeline when non-default velocity is inherited from previous object
This commit is contained in:
@ -89,6 +89,11 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
|
|
||||||
HitObject.DifficultyControlPoint = nearestDifficultyPoint ?? new DifficultyControlPoint();
|
HitObject.DifficultyControlPoint = nearestDifficultyPoint ?? new DifficultyControlPoint();
|
||||||
HitObject.Position = ToLocalSpace(result.ScreenSpacePosition);
|
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;
|
break;
|
||||||
|
|
||||||
case SliderPlacementState.Body:
|
case SliderPlacementState.Body:
|
||||||
|
Reference in New Issue
Block a user