From ce62736c40f06efd6844ac41280ee22284e27b5a Mon Sep 17 00:00:00 2001 From: yangwen Date: Thu, 29 May 2025 18:01:54 +0800 Subject: [PATCH] =?UTF-8?q?undo=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Stage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Stage.ts b/src/views/Stage.ts index 966f4b6..7a832ae 100644 --- a/src/views/Stage.ts +++ b/src/views/Stage.ts @@ -329,7 +329,6 @@ export class Stage extends Laya.Script { } else { this.selectedBlock.setShowNumber(undo.show, 0) } - // this.onSetBlock(this.selectedBlock) this.onUpdateScore() const undos = this.data.get_undos() if (undos.length > 0) { @@ -337,6 +336,7 @@ export class Stage extends Laya.Script { this.selectedBlock = this.blocks[last.index] this.onApplyBlock(this.selectedBlock) } + this.onSetBlock(this.selectedBlock) } }