Update README.md

时间有误
This commit is contained in:
依然 2019-10-31 10:18:41 +08:00 committed by GitHub
parent aaa15807ab
commit 4ca540fb28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ this.loop = setInterval(() => {
}, 16)
```
但是有些计算没有必要 16 计算一次,这样会降低帧率,所以可以记录上一次执行的时间用来控制帧率:
但是有些计算没有必要 16ms 计算一次,这样会降低帧率,所以可以记录上一次执行的时间用来控制帧率:
```js
this.loop = setInterval(() => {