방위설정 오류 수정
케라바 경사 제거
This commit is contained in:
parent
f2a77c339d
commit
f2445b41d6
@ -108,13 +108,16 @@ export default function FlowDirectionSetting(props) {
|
||||
</div>
|
||||
<div className="grid-select ">
|
||||
<QSelectBox
|
||||
title={selectedOrientation.name}
|
||||
value={selectedOrientation}
|
||||
options={orientations}
|
||||
onChange={(e) => {
|
||||
setType(FLOW_DIRECTION_TYPE.EIGHT_AZIMUTH)
|
||||
setSelectedOrientation(e)
|
||||
setCompasDeg(e.value)
|
||||
}}
|
||||
showKey={'name'}
|
||||
targetKey={'value'}
|
||||
sourceKey={'value'}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import { useMessage } from '@/hooks/useMessage'
|
||||
import { useRecoilValue } from 'recoil'
|
||||
import { ANGLE_TYPE, currentAngleTypeSelector } from '@/store/canvasAtom'
|
||||
import { currentAngleTypeSelector } from '@/store/canvasAtom'
|
||||
|
||||
export default function Gable({ offsetRef, pitchRef, pitchText }) {
|
||||
export default function Gable({ offsetRef }) {
|
||||
const { getMessage } = useMessage()
|
||||
const currentAngleType = useRecoilValue(currentAngleTypeSelector)
|
||||
return (
|
||||
|
||||
@ -159,7 +159,6 @@ export function useRoofShapePassivitySetting(id) {
|
||||
} else if (type === TYPES.GABLE) {
|
||||
attributes = {
|
||||
type: LINE_TYPE.WALLLINE.GABLE,
|
||||
pitch: currentAngleType === ANGLE_TYPE.SLOPE ? pitchRef.current.value : getChonByDegree(pitchRef.current.value),
|
||||
offset,
|
||||
}
|
||||
} else if (type === TYPES.SHED) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user