diff --git a/app/src/modules/builder/line/line.tsx b/app/src/modules/builder/line/line.tsx index c2844cc..08059ce 100644 --- a/app/src/modules/builder/line/line.tsx +++ b/app/src/modules/builder/line/line.tsx @@ -56,7 +56,7 @@ function Line({ points }: Readonly) { uuid={`${points[0].pointUuid}-${points[1].pointUuid}`} userData={{ points, path }} points={positions} - lineWidth={7.5} + lineWidth={Constants.lineConfig.width} color={isDeletable ? colors.defaultDeleteColor : colors.defaultLineColor} onClick={handleLineClick} onPointerOver={handlePointerOver} diff --git a/app/src/modules/builder/line/reference/referenceLine.tsx b/app/src/modules/builder/line/reference/referenceLine.tsx index 0a9b2f2..0be43d1 100644 --- a/app/src/modules/builder/line/reference/referenceLine.tsx +++ b/app/src/modules/builder/line/reference/referenceLine.tsx @@ -10,7 +10,7 @@ interface ReferenceLineProps { function ReferenceLine({ points }: Readonly) { const positions = useMemo(() => points.map((p) => new THREE.Vector3(...p.position)), [points]); - return ; + return ; } export default ReferenceLine; diff --git a/app/src/types/world/worldConstants.ts b/app/src/types/world/worldConstants.ts index 7e00eff..e81e102 100644 --- a/app/src/types/world/worldConstants.ts +++ b/app/src/types/world/worldConstants.ts @@ -331,7 +331,7 @@ export const pointConfig: PointConfig = { export const lineConfig: LineConfig = { tubularSegments: 64, // Number of tubular segments radius: 0.15, // Radius of the lines - width: 20, // Width of the lines + width: 7.5, // Width of the lines radialSegments: 8, // Number of radial segments wallName: "WallLine", // Name of the wall lines floorName: "FloorLine", // Name of the floor lines