Merge pull request 'dev' (#795) from dev into dev-deploy

Reviewed-on: #795
This commit is contained in:
ysCha 2026-04-27 13:25:18 +09:00
commit bc2287de33

View File

@ -7,7 +7,7 @@ import * as turf from '@turf/turf'
import { LINE_TYPE, POLYGON_TYPE } from '@/common/common' import { LINE_TYPE, POLYGON_TYPE } from '@/common/common'
import Big from 'big.js' import Big from 'big.js'
import { drawSkeletonRidgeRoof, drawSkeletonRidgeRoofFromBaseLines, verifyMoveBoundary } from '@/util/skeleton-utils' import { drawSkeletonRidgeRoof, drawSkeletonRidgeRoofFromBaseLines, verifyMoveBoundary } from '@/util/skeleton-utils'
import { attachDebugLabels } from '@/util/debugLabels'
export const QPolygon = fabric.util.createClass(fabric.Polygon, { export const QPolygon = fabric.util.createClass(fabric.Polygon, {
type: 'QPolygon', type: 'QPolygon',
@ -515,9 +515,6 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
// console.log('변별로 설정') // console.log('변별로 설정')
drawRoofByAttribute(this.id, this.canvas, textMode) drawRoofByAttribute(this.id, this.canvas, textMode)
} }
// [DEBUG] URL ?debug=labels 일 때만 라벨 부착. 운영 빌드/평소엔 noop.
attachDebugLabels(this.canvas, this.id)
}, },
/** /**