This commit is contained in:
aozhiwei 2024-04-12 17:01:41 +08:00
parent 7ebe70aba4
commit d15c5a061f

4
app.go
View File

@ -177,12 +177,12 @@ func (this *app) run() {
_timer.update() _timer.update()
this.dispatchIMMsg() this.dispatchIMMsg()
this.userApp.Update() this.userApp.Update()
this.schedule()
endTick := q5.GetTickCount() endTick := q5.GetTickCount()
if this.maxRunDelay < endTick-beginTick { if this.maxRunDelay < endTick-beginTick {
this.maxRunDelay = endTick - beginTick this.maxRunDelay = endTick - beginTick
} }
this.schedule()
} }
} }