|
|
@@ -110,7 +110,7 @@ export default class turntableItem extends cc.Component {
|
|
|
outline.width = 1
|
|
|
}), cc.scaleTo(0.3, 1.6), cc.callFunc(() => {
|
|
|
this.schedule(this.showAction, 0.015)
|
|
|
- }), cc.delayTime((this.num - this.animNum) * 0.016), cc.scaleTo(0.3, 1), cc.callFunc(() => {
|
|
|
+ }), cc.delayTime((this.num - this.animNum) / 3 * 0.016), cc.scaleTo(0.3, 1), cc.callFunc(() => {
|
|
|
this.labNum.node.color = color
|
|
|
this.labNum.node.removeComponent(cc.LabelOutline)
|
|
|
})))
|
|
|
@@ -119,7 +119,10 @@ export default class turntableItem extends cc.Component {
|
|
|
|
|
|
showAction() {
|
|
|
if (this.animNum < this.num) {
|
|
|
- this.animNum++
|
|
|
+ this.animNum += 3
|
|
|
+ if (this.animNum > this.num) {
|
|
|
+ this.animNum = this.num
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (cc.isValid(this.labNum)) {
|