优化棋盘表现问题

This commit is contained in:
2025-05-30 11:02:53 +08:00
parent 74d686cf92
commit 6d4bb79a45
6 changed files with 9427 additions and 6083 deletions

View File

@@ -499,7 +499,7 @@ export class Stage extends Laya.Script {
public onClickCandy(evt: Laya.Event): void {
const candy = evt.target.getComponent(Candy)
this.onApplyCandy(candy.get_show(), false)
const sp = evt.target.getChildByName("Sprite") as Laya.Sprite
const sp = evt.target.getChildByName("offset") as Laya.Sprite
Laya.Tween.to(sp, { scaleX: 0.9, scaleY: 0.9 }, 100, Laya.Ease.linearIn)
Laya.Tween.to(sp, { scaleX: 1, scaleY: 1 }, 100, Laya.Ease.linearInOut, null, 100)
}