fix undo problem

This commit is contained in:
2025-05-21 11:54:32 +08:00
parent 6d6596a562
commit 64868a980f

View File

@@ -247,7 +247,7 @@ export class Stage extends Laya.Script {
else {
this.selectedBlock.setShowNumber(undo.show)
}
this.onSetBlock(this.selectedBlock)
// this.onSetBlock(this.selectedBlock)
this.onUpdateScore()
var undos = this.data.get_undos()
if (undos.length > 0) {