From e2f804bac777e7a11361911a4c6f614028dba68e Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 9 Aug 2025 21:23:09 +0200 Subject: [PATCH] fix(RegionMap.tsx): flip connection indicator angle by 180 degrees to point away from existing connections --- frontend/src/components/RegionMap.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/RegionMap.tsx b/frontend/src/components/RegionMap.tsx index 2be7460..e4b9b71 100644 --- a/frontend/src/components/RegionMap.tsx +++ b/frontend/src/components/RegionMap.tsx @@ -242,6 +242,8 @@ export const RegionMap = ({ regionName, focusSystem, isCompact = false, isWormho for (let i = 0; i < key.length; i++) h = (h * 31 + key.charCodeAt(i)) >>> 0; angle = (h % 360) * (Math.PI / 180); } + // Flip 180° so indicator points away from existing connections + angle = angle + Math.PI; const gkey = `${fromName}__${toRegion}`; const prev = grouped.get(gkey);