Comparing version 3.1.3 to 3.1.4
@@ -5,2 +5,9 @@ # Changelog | ||
## [3.1.4] 2018-01-04 | ||
### Changed | ||
- Max permitted time elapsed is now 40ms to permit 30fps max. | ||
- When `startRenderLoop` is fired, and the loop is not active, we set a new `currentTime`. | ||
## [3.1.3] 2017-11-08 | ||
@@ -7,0 +14,0 @@ |
@@ -8,3 +8,3 @@ "use strict"; | ||
var willRenderNextFrame = false; | ||
var MAX_ELAPSED = 20; | ||
var MAX_ELAPSED = 40; | ||
var currentFramestamp = exports.currentTime(); | ||
@@ -15,2 +15,3 @@ var elapsed = 0; | ||
if (!willRenderNextFrame) { | ||
currentFramestamp = exports.currentTime(); | ||
willRenderNextFrame = true; | ||
@@ -17,0 +18,0 @@ on_next_frame_1.default(processFrame); |
{ | ||
"name": "framesync", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "A tiny frame scheduler for performantly batching reads and renders", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
13428
13
118
0
56