Compare commits
No commits in common. "d7fa1965702a72d098a79dd734ad81cacad28287" and "23b8aa7fa74eb2f2ae1cb05b07fbfaafba2d2bda" have entirely different histories.
d7fa196570
...
23b8aa7fa7
@ -958,12 +958,11 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else {
|
}else {
|
||||||
newPStart.y = wallLine.y1;
|
newPStart.y = roofLine.y1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isStartEnd.end){
|
if(isStartEnd.end){
|
||||||
const moveDist = Big(wallLine.x1).minus(wallBaseLine.x1).abs().toNumber()
|
const moveDist = Big(wallLine.x1).minus(wallBaseLine.x1).abs().toNumber()
|
||||||
const aStartY = Big(roofLine.y2).plus(moveDist).toNumber()
|
const aStartY = Big(roofLine.y2).plus(moveDist).toNumber()
|
||||||
@ -990,7 +989,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else {
|
}else {
|
||||||
newPEnd.y = wallLine.y2
|
newPEnd.y = roofLine.y2;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1074,7 +1073,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else {
|
}else {
|
||||||
newPStart.y = wallLine.y1;
|
newPStart.y = roofLine.y2;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1106,7 +1105,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else {
|
}else {
|
||||||
newPEnd.y = wallLine.y2;
|
newPEnd.y = roofLine.y2;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1214,7 +1213,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else {
|
}else {
|
||||||
newPStart.x = wallLine.x1;
|
newPStart.x = roofLine.x1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1245,7 +1244,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else {
|
}else {
|
||||||
newPEnd.x = wallLine.x2;
|
newPEnd.x = roofLine.x2;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1324,7 +1323,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPStart.y, x: newPStart.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else{
|
}else{
|
||||||
newPStart.x = wallLine.x1;
|
newPStart.x = roofLine.x1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1356,7 +1355,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
|
|||||||
if(inLine){
|
if(inLine){
|
||||||
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
getAddLine({ y: newPEnd.y, x: newPEnd.x }, { y: inLine.y2, x: inLine.x2 }, 'purple')
|
||||||
}else{
|
}else{
|
||||||
newPEnd.x = wallLine.x2;
|
newPEnd.x = roofLine.x2;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user