点击停止的节奏修改
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m16s

This commit is contained in:
TJH 2026-02-24 17:40:55 +08:00
parent 7915edd14c
commit 08bcd8faf1

View File

@ -392,9 +392,12 @@ export class SlotScene extends Component {
// 滚轮没有开始旋转的时候不能停止 // 滚轮没有开始旋转的时候不能停止
if (!this.slotGame.isScroll()) return; if (!this.slotGame.isScroll()) return;
this.slotBar.manualStop(); this.slotBar.manualStop();
this.scheduleOnce(() => {
this.slotGame.manualStop(); this.slotGame.manualStop();
}, 0.3)
} }
private handleErrSpin() { private handleErrSpin() {