Skip to content

Commit 387322a

Browse files
committed
Borders should now work with custom datasets as well.
1 parent 1609040 commit 387322a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/plots/CountryBorders.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ const CountryBorders = () => {
240240
return(
241241
<group
242242
rotation={[rotateFlat ? -Math.PI/2 : 0, 0, 0]}
243-
scale={[globalScale, globalScale * (spherize ? 1 : aspectRatio), globalScale]}
243+
scale={[globalScale, globalScale * (spherize ? 1 : 2 / aspectRatio), globalScale]}
244244
>
245245
<group
246246
visible={showBorders && !(analysisMode && axis != 0)}

0 commit comments

Comments
 (0)