1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +08:00

Fix uneven spacing on match connectors in tournament ladder screen

Noticed in passing during review of #24347.
This commit is contained in:
Bartłomiej Dach 2023-07-24 22:56:04 +02:00
parent b5c17b47d1
commit e3560d2a10
No known key found for this signature in database

View File

@ -60,6 +60,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
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();
}