diff --git a/src/app/common/custom-hot-zone/custom-hot-zone.component.ts b/src/app/common/custom-hot-zone/custom-hot-zone.component.ts index 3e09856f14ef70bd61a931006295447b36391023..809b7559140248228e6c6f73bca394e431d693cb 100644 --- a/src/app/common/custom-hot-zone/custom-hot-zone.component.ts +++ b/src/app/common/custom-hot-zone/custom-hot-zone.component.ts @@ -44,7 +44,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { @ViewChild('canvas') canvas: ElementRef; @ViewChild('wrap') wrap: ElementRef; - @HostListener('window:resize', ['$event']) + // @HostListener('window:resize', ['$event']) canvasWidth = 1280; canvasHeight = 720; @@ -68,7 +68,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { images = new Map(); animationId: any; - winResizeEventStream = new Subject(); + // winResizeEventStream = new Subject(); canvasLeft; canvasTop; @@ -95,7 +95,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { onResize(event) { - this.winResizeEventStream.next(); + // this.winResizeEventStream.next(); } @@ -655,11 +655,11 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { initListener() { - this.winResizeEventStream - .pipe(debounceTime(500)) - .subscribe(data => { - this.renderAfterResize(); - }); + // this.winResizeEventStream + // .pipe(debounceTime(500)) + // .subscribe(data => { + // this.renderAfterResize(); + // }); if (this.IsPC()) { diff --git a/src/assets/20-9.png b/src/assets/20-9.png deleted file mode 100644 index fbbaa1d94af461c0908228a5b44176b3ebeb2a78..0000000000000000000000000000000000000000 Binary files a/src/assets/20-9.png and /dev/null differ