Skip to content

Commit dfcf2a9

Browse files
committed
pointCloud borders
1 parent 387322a commit dfcf2a9

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
@@ -231,7 +231,7 @@ const CountryBorders = () => {
231231

232232
const isPC = plotType == 'point-cloud'
233233
const isFlatMap = plotType == "flat"
234-
const timeRatio = Math.max(dataShape[0]/dataShape[2],2)
234+
const timeRatio = isPC ? dataShape[0]/dataShape[2] : Math.max(dataShape[0]/dataShape[2],2)
235235
const depthScale = timeRatio*timeScale
236236
const aspectRatio = dataShape[2]/dataShape[1]
237237

0 commit comments

Comments
 (0)