diff --git a/packages/react-components/src/lib/cesium-map/tools/terranian-height.tool.tsx b/packages/react-components/src/lib/cesium-map/tools/terranian-height.tool.tsx index 42553e1..96c7f41 100644 --- a/packages/react-components/src/lib/cesium-map/tools/terranian-height.tool.tsx +++ b/packages/react-components/src/lib/cesium-map/tools/terranian-height.tool.tsx @@ -69,7 +69,10 @@ export const TerrainianHeightTool: React.FC = ( ).then( (updatedPositions) => { console.log(updatedPositions); - updatedPositions = updatedPositions.slice(0, updatedPositions.length - 1); // UNIX brake line + updatedPositions = updatedPositions.slice( + 0, + updatedPositions.length - 1 + ); // UNIX brake line mapViewer.scene.globe.depthTestAgainstTerrain = true; mapViewer.entities.suspendEvents();