Merge pull request #21268 from peppy/fix-path-change-expected-length

Fix sliders not correctly taking on full available length after changing curve type
This commit is contained in:
Dan Balasescu 2022-11-18 14:06:50 +09:00 committed by GitHub
commit 2fb93fd46c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,6 +248,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
break;
}
slider.Path.ExpectedDistance.Value = null;
piece.ControlPoint.Type = type;
}