Clarify comment (#13684)
* fix comment typo * Update Scheduler.js
Heaven committed
Sep 19, 2018 at 20:14 UTC
518812eeb82a524dd264be79ca0573ce39cde945
1 file changed
+1
-1
packages/scheduler/src/Scheduler.js
+1
-1
@@ -394,7 +394,7 @@ if (typeof window === 'undefined') {
394
) {
395
if (nextFrameTime < 8) {
396
// Defensive coding. We don't support higher frame rates than 120hz.
397
- // If we get lower than that, it is probably a bug.
397
+ // If the calculated frame time gets lower than 8, it is probably a bug.
398
nextFrameTime = 8;
399
}
400
// If one frame goes long, then the next one can be short to catch up.