From f98362f748719bb41f9026e18620f1f971a510b1 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Thu, 3 Oct 2024 17:13:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=A1=8C=E8=B5=B0?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/render/preset/hero.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/render/preset/hero.ts b/src/core/render/preset/hero.ts index 48bf4a6..5d3807e 100644 --- a/src/core/render/preset/hero.ts +++ b/src/core/render/preset/hero.ts @@ -73,7 +73,8 @@ export class HeroRenderer setImage(image: SizedCanvasImageSource) { this.image = image; this.split(); - this.layer.update(this.layer); + this.resetRenderable(true); + this.layer.requestUpdateMoving(); } /**