Skip to content

Commit

Permalink
Fix slider end drag marker being in incorrect position for stacked sl…
Browse files Browse the repository at this point in the history
…iders

Closes #29884.
  • Loading branch information
bdach committed Sep 17, 2024
1 parent 3e63fe3 commit 67a7f60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 67a7f60

Please sign in to comment.