fix(RegionMap.tsx): flip connection indicator angle by 180 degrees to point away from existing connections

This commit is contained in:
2025-08-09 21:23:09 +02:00
parent 91cbb6c841
commit e2f804bac7

View File

@@ -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);