From 8550a458fccb2171a7b0889c9853f4716a48823d Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 19 Oct 2023 16:51:22 +0800 Subject: [PATCH] =?UTF-8?q?animationManger=E7=A7=BB=E9=99=A4=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlgraphic/plugins/AnimationManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jlgraphic/plugins/AnimationManager.ts b/src/jlgraphic/plugins/AnimationManager.ts index d783098..fe88038 100644 --- a/src/jlgraphic/plugins/AnimationManager.ts +++ b/src/jlgraphic/plugins/AnimationManager.ts @@ -42,7 +42,7 @@ export class AnimationManager { } destroy() { - this.app.pixi.ticker.remove(this.run, this); + this.app.pixi?.ticker.remove(this.run, this); } /** * 图形对象的所有动画map