|
|
@ -197,9 +197,8 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV |
|
|
|
|
|
|
|
|
|
|
|
ngAfterViewInit(): void { |
|
|
|
ngAfterViewInit(): void { |
|
|
|
this.createCanvas(); |
|
|
|
this.createCanvas(); |
|
|
|
let that = this |
|
|
|
window.onresize = () => { |
|
|
|
window.onresize = function(){ |
|
|
|
this.resizeCanvas(); |
|
|
|
that.resizeCanvas() |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
|
/** |
|
|
|