- Create coordinates.ts with centralized SCALE constant - Add calculatePlantCoords() helper matching SmartRack grid logic - Refactor all beacon position calcs to use helper - Uses col*colSpacing where colSpacing = width/(maxCols+1) - This matches how plants are actually rendered in PlantSystem |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| components | ||
| context | ||
| features/layout-designer | ||
| hooks | ||
| lib | ||
| pages | ||
| stores | ||
| templates | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||
| router.tsx | ||
| vite-env.d.ts | ||