Browse Source

[完善] 尝试关闭模板缓冲区

tianjin
徐振升 2 years ago
parent
commit
889642262b
  1. 2
      src/app/working-area/working-area.component.ts

2
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);

Loading…
Cancel
Save