Merge branch 'dev' of https://git.jetbrains.space/nalpari/q-cast-iii/qcast-front into dev
This commit is contained in:
commit
6531949e40
@ -166,9 +166,9 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
|
||||
},
|
||||
|
||||
initLines() {
|
||||
if (this.lines.length > 0) {
|
||||
return
|
||||
}
|
||||
// if (this.lines.length > 0) {
|
||||
// return
|
||||
// }
|
||||
|
||||
this.lines = []
|
||||
|
||||
|
||||
@ -118,10 +118,12 @@ export function useCanvas(id) {
|
||||
|
||||
//QLine에 커스텀 어트리뷰트 넣기
|
||||
if (this.type === 'QLine') {
|
||||
this.attributes.type = this.attributes.type || 'default'
|
||||
source.attributes = {
|
||||
...this.attributes,
|
||||
type: this.attributes.type,
|
||||
if (this.attributes) {
|
||||
this.attributes.type = this.attributes.type || 'default'
|
||||
source.attributes = {
|
||||
...this.attributes,
|
||||
type: this.attributes.type,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user