diff --git a/src/util/skeleton-utils.js b/src/util/skeleton-utils.js index 14cd60d9..28789eb4 100644 --- a/src/util/skeleton-utils.js +++ b/src/util/skeleton-utils.js @@ -694,12 +694,18 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => { const getAddLine = (p1, p2, stroke = '#1083E3') => { const line = new QLine([p1.x, p1.y, p2.x, p2.y], { + parentId : roof.id, + fontSize : roof.fontSize, stroke : stroke, strokeWidth: 4, - property : 'normal', + name : 'helpLine', lineName : 'helpLine', + selectable : true, + visible : true, roofId : roofId, - parentId : roof.id, + attributes : { + type: 'helpLine' + } }); const coordinateText = new fabric.Text(`(${Math.round(line.x1)}, ${Math.round(line.y1)})`, {