Commit 101df70b authored by limingzhe's avatar limingzhe

feat: 0。5秒间隔提交

parent 47d10f2d
......@@ -726,6 +726,9 @@ export class PlayComponent implements OnInit, OnDestroy {
this.canTouch = false;
delayCall(0.5, () => {
this.canTouch = true;
})
const time = 0.1;
tweenChange(this.tweenItem, {submitOffY: 1}, time / 2, ()=> {
......@@ -733,7 +736,6 @@ export class PlayComponent implements OnInit, OnDestroy {
tweenChange(this.tweenItem, {submitOffY: 0 * this.mapScale}, time / 2, ()=> {
this.canTouch = true;
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment