Merge pull request #472 from liubailing/patch-1

docs: update readme.md
This commit is contained in:
当耐特 2019-10-30 21:22:59 -05:00 committed by GitHub
commit 2a7a855b72
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(() => {