From 5e515568cd9f06525cffa1643b3e14e073211f45 Mon Sep 17 00:00:00 2001 From: yuanfengxin <1226085293@qq.com> Date: Fri, 15 Jul 2022 18:34:42 +0800 Subject: [PATCH] .... --- assets/RollingLottery.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/RollingLottery.ts b/assets/RollingLottery.ts index 7bb554c..d92072d 100644 --- a/assets/RollingLottery.ts +++ b/assets/RollingLottery.ts @@ -173,7 +173,8 @@ export class RollingLottery2 extends Component { // v.setSiblingIndex(0); // }, 0); - let tempN = this._selfRect.height + this._ItemSize.height * 2; + /** 展示周长 */ + let tempN = this._selfRect.height + this._ItemSize.height; // 超出圈数 let beyondTurnsN = Math.floor((this._selfRect.yMin - currNodeRect.yMax) / tempN);