Commit e27aff96 authored by Li Mingzhe's avatar Li Mingzhe

feat: remove resize

parent fd3ef4a8
......@@ -1117,9 +1117,9 @@ export class PlayComponent implements OnInit, OnDestroy {
@ViewChild("canvas") canvas: ElementRef;
@ViewChild("wrap") wrap: ElementRef;
@HostListener("window:resize", ["$event"])
onResize(event) {
this.g_winResizeEventStream.next();
}
// onResize(event) {
// this.g_winResizeEventStream.next();
// }
ngOnDestroy() {
window["curCtx"] = null;
window.cancelAnimationFrame(this.g_animationId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment