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.
2 parents e5cdf56 + dfcf2a9 commit bc85107Copy full SHA for bc85107
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