fix代码格式

This commit is contained in:
2025-05-29 19:15:32 +08:00
parent d5d00fa5ed
commit 6d33a9c8f1
5 changed files with 33 additions and 39 deletions

View File

@@ -38,7 +38,7 @@ export class Block extends Laya.Script {
this.sprite_show = this.owner.getChildByName("Sprite") as Laya.Sprite
this.label_show = this.owner.getChildByName("label_show") as Laya.Label
let notes = this.owner.getChildByName("notes")
const notes = this.owner.getChildByName("notes")
for (let i = 0; i < notes.numChildren; i++) {
const hbox = notes.getChildAt(i)
for (let j = 0; j < hbox.numChildren; j++) {
@@ -49,7 +49,7 @@ export class Block extends Laya.Script {
this.tips_labels.push(Label)
}
}
this.owner.on(Laya.Event.CLICK, handler, func)
}