fix(RegionMap.tsx): flip connection indicator angle by 180 degrees to point away from existing connections
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user