draw wall시 name 추가

This commit is contained in:
hyojun.choi 2024-08-02 17:29:55 +09:00
parent f20be4f0af
commit 5b282955f2
2 changed files with 2 additions and 0 deletions

View File

@ -444,6 +444,7 @@ export default function Roof2() {
const trestlePoly = new QPolygon(offsetPolygonPoint, {
fill: 'transparent',
stroke: 'red',
strokeDashArray: [5, 5],
strokeWidth: 1,
selectable: true,
fontSize: fontSize,

View File

@ -521,6 +521,7 @@ export function useMode() {
// handleOuterlines()
const wall = makePolygon()
wall.set({ name: 'wall' })
setWall(wall)
return wall