변별로 설정 후 한쪽흐름과 같이 변 속성을 선택할 경우 처리 추가
This commit is contained in:
parent
51e1f70c24
commit
bdcacd5542
@ -231,6 +231,21 @@ export function useRoofShapeSetting(id) {
|
|||||||
pitch: pitchRef.current,
|
pitch: pitchRef.current,
|
||||||
onlyOffset: true,
|
onlyOffset: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch (line.direction) {
|
||||||
|
case 'bottom':
|
||||||
|
direction = 'west'
|
||||||
|
break
|
||||||
|
case 'top':
|
||||||
|
direction = 'east'
|
||||||
|
break
|
||||||
|
case 'left':
|
||||||
|
direction = 'north'
|
||||||
|
break
|
||||||
|
case 'right':
|
||||||
|
direction = 'south'
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user