diff --git a/src/app/App.tsx b/src/app/App.tsx index 28c48457..563ccb0c 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2913,11 +2913,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 ? [] @@ -9769,10 +9770,7 @@ export function App({ const handleTerrainPaintLayerChange = (value: string) => { setActiveTerrainPaintLayerIndex( - clampTerrainPaintLayerIndex( - Number(value), - selectedTerrain?.layers.length - ) + clampTerrainPaintLayerIndex(Number(value), selectedTerrain?.layers.length) ); }; @@ -10113,7 +10111,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)); @@ -21868,7 +21868,10 @@ export function App({
{selectedTerrain.layers.map((layer, layerIndex) => (
-