Merge pull request 'v0.3' (#448) from dev_cha into dev

Reviewed-on: #448
This commit is contained in:
ysCha 2025-12-07 21:35:24 +09:00
commit d7fa196570

View File

@ -958,11 +958,12 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else {
newPStart.y = roofLine.y1;
newPStart.y = wallLine.y1;
}
}
}
if(isStartEnd.end){
const moveDist = Big(wallLine.x1).minus(wallBaseLine.x1).abs().toNumber()
const aStartY = Big(roofLine.y2).plus(moveDist).toNumber()
@ -989,7 +990,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else {
newPEnd.y = roofLine.y2;
newPEnd.y = wallLine.y2
}
}
@ -1073,7 +1074,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else {
newPStart.y = roofLine.y2;
newPStart.y = wallLine.y1;
}
}
@ -1105,7 +1106,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else {
newPEnd.y = roofLine.y2;
newPEnd.y = wallLine.y2;
}
}
@ -1213,7 +1214,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else {
newPStart.x = roofLine.x1;
newPStart.x = wallLine.x1;
}
}
@ -1244,7 +1245,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else {
newPEnd.x = roofLine.x2;
newPEnd.x = wallLine.x2;
}
}
@ -1323,7 +1324,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else{
newPStart.x = roofLine.x1;
newPStart.x = wallLine.x1;
}
}
@ -1355,7 +1356,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
if(inLine){
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
}else{
newPEnd.x = roofLine.x2;
newPEnd.x = wallLine.x2;
}
}