From b797f2b2b9c2312a690a0ce86372233a53bd2b0d Mon Sep 17 00:00:00 2001 From: TJH Date: Sat, 25 Apr 2026 09:57:43 +0800 Subject: [PATCH] bug --- assets/Game/Scripts/SlotBar.ts | 4 +++- assets/Game/Scripts/SlotGame.ts | 2 +- assets/Game/SlotScene.prefab | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/assets/Game/Scripts/SlotBar.ts b/assets/Game/Scripts/SlotBar.ts index 7c6b1a6..1b186d2 100644 --- a/assets/Game/Scripts/SlotBar.ts +++ b/assets/Game/Scripts/SlotBar.ts @@ -121,6 +121,8 @@ export class SlotBar extends Component { this.setBtnEnable(this.getBtnButton(Btn_Key.SubBetBtn), false); this.setBtnEnable(this.getBtnButton(Btn_Key.AutoSpinBtn), false); this.setBtnEnable(this.getBtnButton(Btn_Key.MenuBtn), false); + this.setBtnEnable(this.getBtnButton(Btn_Key.ChooseDiffBtn), false); + this.updateChooseDiff(); } @@ -709,7 +711,7 @@ export class SlotBar extends Component { this.setBtnEnable(this.getBtnButton(Btn_Key.AddBetBtn), true); this.setBtnEnable(this.getBtnButton(Btn_Key.AutoSpinBtn), true); this.setBtnEnable(this.getBtnButton(Btn_Key.MenuBtn), true); - this.setBtnEnable(this.getBtnButton(Btn_Key.ChooseDiffBtn), false); + this.setBtnEnable(this.getBtnButton(Btn_Key.ChooseDiffBtn), true); this.betIndex = 0; this.setBet(this.betGrade[this.betIndex]); } diff --git a/assets/Game/Scripts/SlotGame.ts b/assets/Game/Scripts/SlotGame.ts index dc9754d..6ff0dbf 100644 --- a/assets/Game/Scripts/SlotGame.ts +++ b/assets/Game/Scripts/SlotGame.ts @@ -639,6 +639,6 @@ export class SlotGame extends Component { } setDoubleWinBtnEnable(bol: boolean) { - this.setBtnEnable(this.doubleWinBtnNode, bol); + this.setBtnEnable(this.doubleWinBtnNode.getChildByName('pt_11'), bol); } } \ No newline at end of file diff --git a/assets/Game/SlotScene.prefab b/assets/Game/SlotScene.prefab index 35c962e..c639d8a 100644 --- a/assets/Game/SlotScene.prefab +++ b/assets/Game/SlotScene.prefab @@ -17220,8 +17220,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -486.721, - "y": -0.967, + "x": -485, + "y": 10, "z": 0 }, "_lrot": {