우선 회전 추가
This commit is contained in:
parent
45b4b37e96
commit
fbc519573b
@ -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)
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user