From 9b99be56a8525d85f9fbaae6a94372577c6fe3cc Mon Sep 17 00:00:00 2001 From: minsik Date: Wed, 27 Nov 2024 17:15:43 +0900 Subject: [PATCH] =?UTF-8?q?polygon=20=EA=B2=BD=EC=82=AC,=20=EA=B0=81?= =?UTF-8?q?=EB=8F=84,=20=EB=B0=A9=ED=96=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/qpolygon-utils.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util/qpolygon-utils.js b/src/util/qpolygon-utils.js index e580fbb7..4f1e9178 100644 --- a/src/util/qpolygon-utils.js +++ b/src/util/qpolygon-utils.js @@ -1640,7 +1640,13 @@ export const drawGabledRoof = (roofId, canvas) => { selectable: false, fontSize: roof.fontSize, name: 'roofPolygon', - attributes: { roofId: roof.id, currentRoof: currentRoof.id }, + attributes: { + roofId: roof.id, + currentRoof: currentRoof.id, + pitch: currentRoof.attributes.pitch, + degree: currentRoof.attributes.degree, + direction: currentRoof.direction, + }, }) const currentDegree = currentRoof.attributes.pitch > 0 ? getDegreeByChon(currentRoof.attributes.pitch) : currentRoof.attributes.degree //지붕 각도에 따른 실측치 조정