feature/ysCha #23

Closed
ysCha wants to merge 259 commits from feature/ysCha into main
Showing only changes of commit a316664b20 - Show all commits

View File

@ -222,6 +222,7 @@ const Trestle = forwardRef((props, ref) => {
if (i === selectedRoof?.index) {
return {
...selectedRoof,
addRoof: roof,
trestle: trestleState,
eavesMargin,
ridgeMargin,
@ -267,7 +268,7 @@ const Trestle = forwardRef((props, ref) => {
...moduleSelectionData,
roofConstructions: newAddedRoofs.map((roof, index) => {
return {
roofIndex: index,
roofIndex: roof.index,
addRoof: {
...moduleSelectionData.roofConstructions[index]?.addRoof,
...roof.addRoof,