diff --git a/src/app/App.tsx b/src/app/App.tsx index 911564c2..63e6327a 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2816,11 +2816,12 @@ export function App({ terrainList ); const selectedPath = getSelectedPath(editorState.selection, pathList); - const splineCorridorJunctionCandidates = detectSplineCorridorJunctionCandidates({ - paths: pathList, - junctions: editorState.document.splineCorridorJunctions, - terrains: terrainList.filter((terrain) => terrain.enabled) - }); + const splineCorridorJunctionCandidates = + detectSplineCorridorJunctionCandidates({ + paths: pathList, + junctions: editorState.document.splineCorridorJunctions, + terrains: terrainList.filter((terrain) => terrain.enabled) + }); const selectedPathJunctionCandidates = selectedPath === null ? [] @@ -9650,10 +9651,7 @@ export function App({ const handleTerrainPaintLayerChange = (value: string) => { setActiveTerrainPaintLayerIndex( - clampTerrainPaintLayerIndex( - Number(value), - selectedTerrain?.layers.length - ) + clampTerrainPaintLayerIndex(Number(value), selectedTerrain?.layers.length) ); }; @@ -9994,7 +9992,9 @@ export function App({ const handleDeleteSplineCorridorJunction = (junctionId: string) => { try { - store.executeCommand(createDeleteSplineCorridorJunctionCommand(junctionId)); + store.executeCommand( + createDeleteSplineCorridorJunctionCommand(junctionId) + ); setStatusMessage("Deleted spline corridor junction."); } catch (error) { setStatusMessage(getErrorMessage(error)); @@ -21491,7 +21491,10 @@ export function App({
{selectedTerrain.layers.map((layer, layerIndex) => (
-