Skip to content

Commit e5cdf56

Browse files
authored
Merge pull request #486 from EarthyScience/jp/border-fix
Borders should now work with custom datasets as well.
2 parents 1609040 + 387322a commit e5cdf56

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)