경사, 각도 유지
This commit is contained in:
parent
e7aa5310ef
commit
3cdfe24b6c
@ -149,8 +149,11 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, pla
|
||||
|
||||
const handleRoofTypeChange = (value) => {
|
||||
const selectedRoofMaterial = roofMaterials.find((roof) => roof.roofMatlCd === value)
|
||||
|
||||
setCurrentRoof({
|
||||
...selectedRoofMaterial,
|
||||
pitch: currentRoof?.pitch,
|
||||
angle: currentRoof?.angle,
|
||||
index: 0,
|
||||
planNo: currentRoof.planNo,
|
||||
roofSizeSet: String(currentRoof.roofSizeSet),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user