From 183060ff958f2094eec716610c2c1b94e4657835 Mon Sep 17 00:00:00 2001 From: yangwen Date: Wed, 28 May 2025 17:32:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=94=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Block.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/Block.ts b/src/views/Block.ts index 9b8ed65..3a83785 100644 --- a/src/views/Block.ts +++ b/src/views/Block.ts @@ -81,15 +81,14 @@ export class Block extends Laya.Script { } public setFadeAnimation(): void { - var color = this.label_show.color Laya.timer.once(200, this, ()=>{ this.label_show.color = "#ff0000" Laya.timer.once(100, this, ()=>{ - this.label_show.color = color + this.label_show.color = "#2d3138" Laya.timer.once(200, this, ()=>{ this.label_show.color = "#ff0000" Laya.timer.once(100, this, ()=>{ - this.label_show.color = color + this.updateBlock() }) }) })