@react-spring/rafz
Advanced tools
Comparing version 9.4.5 to 9.5.0
@@ -50,5 +50,5 @@ 'use strict'; | ||
onFrameQueue.delete(fn); | ||
onFinishQueue.delete(fn); | ||
updateQueue.delete(fn); | ||
writeQueue.delete(fn); | ||
onFinishQueue.delete(fn); | ||
}; | ||
@@ -152,2 +152,7 @@ | ||
if (!pendingCount) { | ||
stop(); | ||
return; | ||
} | ||
onStartQueue.flush(); | ||
@@ -158,6 +163,2 @@ updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667); | ||
onFinishQueue.flush(); | ||
if (!pendingCount) { | ||
stop(); | ||
} | ||
} | ||
@@ -164,0 +165,0 @@ |
@@ -50,5 +50,5 @@ 'use strict'; | ||
onFrameQueue.delete(fn); | ||
onFinishQueue.delete(fn); | ||
updateQueue.delete(fn); | ||
writeQueue.delete(fn); | ||
onFinishQueue.delete(fn); | ||
}; | ||
@@ -152,2 +152,7 @@ | ||
if (!pendingCount) { | ||
stop(); | ||
return; | ||
} | ||
onStartQueue.flush(); | ||
@@ -158,6 +163,2 @@ updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667); | ||
onFinishQueue.flush(); | ||
if (!pendingCount) { | ||
stop(); | ||
} | ||
} | ||
@@ -164,0 +165,0 @@ |
@@ -46,5 +46,5 @@ let updateQueue = makeQueue(); | ||
onFrameQueue.delete(fn); | ||
onFinishQueue.delete(fn); | ||
updateQueue.delete(fn); | ||
writeQueue.delete(fn); | ||
onFinishQueue.delete(fn); | ||
}; | ||
@@ -148,2 +148,7 @@ | ||
if (!pendingCount) { | ||
stop(); | ||
return; | ||
} | ||
onStartQueue.flush(); | ||
@@ -154,6 +159,2 @@ updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667); | ||
onFinishQueue.flush(); | ||
if (!pendingCount) { | ||
stop(); | ||
} | ||
} | ||
@@ -160,0 +161,0 @@ |
{ | ||
"name": "@react-spring/rafz", | ||
"version": "9.4.5", | ||
"version": "9.5.0", | ||
"description": "react-spring's fork of rafz one frameloop to rule them all", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-spring-rafz.cjs.js", |
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
19576
637