Skip to content

Commit

Permalink
Fix uneven spacing on match connectors in tournament ladder screen
Browse files Browse the repository at this point in the history
Noticed in passing during review of ppy#24347.
  • Loading branch information
bdach committed Jul 24, 2023
1 parent b5c17b4 commit e3560d2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ protected override void LoadComplete()

var topLeft = new Vector2(minX, minY);

OriginPosition = new Vector2(PathRadius);
Position = Parent.ToLocalSpace(topLeft);
Vertices = points.Select(p => Parent.ToLocalSpace(p) - Parent.ToLocalSpace(topLeft)).ToList();
}
Expand Down

0 comments on commit e3560d2

Please sign in to comment.