Fix slider end drag marker being in incorrect position for stacked sliders

Closes https://github.com/ppy/osu/issues/29884.
This commit is contained in:
Bartłomiej Dach 2024-09-17 08:23:46 +02:00
parent 3e63fe399f
commit 67a7f608f1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ protected override void Update()
if (endDragMarkerContainer != null)
{
endDragMarkerContainer.Position = circle.Position;
endDragMarkerContainer.Position = circle.Position + slider.StackOffset;
endDragMarkerContainer.Scale = CirclePiece.Scale * 1.2f;
var diff = slider.Path.PositionAt(1) - slider.Path.PositionAt(0.99f);
endDragMarkerContainer.Rotation = float.RadiansToDegrees(MathF.Atan2(diff.Y, diff.X));