Compare commits
No commits in common. "1027f59b35e4fdd4f876165822ed14f500601eaf" and "e9b46be69a58f60a6177da5a3a5869057f17a563" have entirely different histories.
1027f59b35
...
e9b46be69a
@ -799,7 +799,7 @@ export const useTrestle = () => {
|
||||
const parent = canvas.getObjects().find((obj) => obj.id === surface.parentId)
|
||||
const { directionText, roofMaterial, moduleCompass, surfaceCompass } = parent
|
||||
const slope = Number(roofMaterial.pitch)
|
||||
const angle = Number(roofMaterial.angle) || getDegreeByChon(slope)
|
||||
const angle = Number(roofMaterial.angle)
|
||||
const roofMaterialIndex = parent.roofMaterial.index
|
||||
const { nameJp: roofMaterialIdMulti } = roofMaterial
|
||||
const moduleSelection = moduleSelectionData?.roofConstructions?.find((construction) => construction.roofIndex === roofMaterialIndex)
|
||||
@ -1123,7 +1123,7 @@ export const useTrestle = () => {
|
||||
return
|
||||
}
|
||||
const roof = canvas.getObjects().find((obj) => obj.id === surface.parentId)
|
||||
const degree = Number(roof.roofMaterial.angle) || getDegreeByChon(roof.roofMaterial.pitch)
|
||||
const degree = getDegreeByChon(roof.roofMaterial.pitch)
|
||||
rackIntvlPct = rackIntvlPct === 0 ? 1 : rackIntvlPct // 0인 경우 1로 변경
|
||||
rackIntvlPct = 100 / rackIntvlPct // 퍼센트로 변경
|
||||
const moduleLeft = lastX ?? left
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user