남, 북 이상 수정
This commit is contained in:
parent
16686de3d0
commit
63d6103858
@ -194,8 +194,8 @@ export function useRoofShapeSetting() {
|
|||||||
outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
||||||
|
|
||||||
outerLines.forEach((line) => {
|
outerLines.forEach((line) => {
|
||||||
setWestAndEastRoof(line)
|
setSouthAndNorthRoof(line)
|
||||||
if (line.direction === 'left') {
|
if (line.direction === 'right') {
|
||||||
line.attributes = {
|
line.attributes = {
|
||||||
offset: eavesOffset / 10,
|
offset: eavesOffset / 10,
|
||||||
pitch: pitch,
|
pitch: pitch,
|
||||||
@ -203,14 +203,13 @@ export function useRoofShapeSetting() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (line.direction === 'right') {
|
if (line.direction === 'left') {
|
||||||
line.attributes = {
|
line.attributes = {
|
||||||
offset: shedWidth / 10,
|
offset: shedWidth / 10,
|
||||||
pitch: pitch,
|
pitch: pitch,
|
||||||
type: LINE_TYPE.WALLLINE.SHED,
|
type: LINE_TYPE.WALLLINE.SHED,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hideLine(line)
|
hideLine(line)
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
@ -220,8 +219,9 @@ export function useRoofShapeSetting() {
|
|||||||
outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
||||||
|
|
||||||
outerLines.forEach((line) => {
|
outerLines.forEach((line) => {
|
||||||
setWestAndEastRoof(line)
|
setSouthAndNorthRoof(line)
|
||||||
if (line.direction === 'right') {
|
|
||||||
|
if (line.direction === 'left') {
|
||||||
line.attributes = {
|
line.attributes = {
|
||||||
offset: eavesOffset / 10,
|
offset: eavesOffset / 10,
|
||||||
pitch: pitch,
|
pitch: pitch,
|
||||||
@ -229,7 +229,7 @@ export function useRoofShapeSetting() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (line.direction === 'left') {
|
if (line.direction === 'right') {
|
||||||
line.attributes = {
|
line.attributes = {
|
||||||
offset: shedWidth / 10,
|
offset: shedWidth / 10,
|
||||||
pitch: pitch,
|
pitch: pitch,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user