우선 회전 추가

This commit is contained in:
hyojun.choi 2024-07-08 10:07:31 +09:00
parent 45b4b37e96
commit fbc519573b

View File

@ -40,7 +40,12 @@ export default class QPolygon extends fabric.Group {
this.on('selected', function () { this.on('selected', function () {
// 모든 컨트롤 떼기 // 모든 컨트롤 떼기
this.controls = []
Object.keys(this.controls).forEach((controlKey) => {
if (controlKey !== 'mtr') {
this.setControlVisible(controlKey, false)
}
})
}) })
} }