From 889642262bda7d5c279a87dad723f4ae1be59629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=AF=E5=8D=87?= <> Date: Mon, 3 Jul 2023 15:19:16 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=20=E5=B0=9D=E8=AF=95?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=A8=A1=E6=9D=BF=E7=BC=93=E5=86=B2=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/working-area/working-area.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index f38a7b6..7b3e047 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -547,6 +547,8 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV resolution: 1, backgroundColor: 0xE9EAEA }); + //关闭模板缓冲区 + PIXI.settings.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = false; this.content.nativeElement.appendChild(this.app.view); this.app.view.style.border = '1px dashed blue'; this.animator = new Charm(PIXI);