We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387322a commit dfcf2a9Copy full SHA for dfcf2a9
src/components/plots/CountryBorders.tsx
@@ -231,7 +231,7 @@ const CountryBorders = () => {
231
232
const isPC = plotType == 'point-cloud'
233
const isFlatMap = plotType == "flat"
234
- const timeRatio = Math.max(dataShape[0]/dataShape[2],2)
+ const timeRatio = isPC ? dataShape[0]/dataShape[2] : Math.max(dataShape[0]/dataShape[2],2)
235
const depthScale = timeRatio*timeScale
236
const aspectRatio = dataShape[2]/dataShape[1]
237
0 commit comments