We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e968e8f commit 2383c3eCopy full SHA for 2383c3e
1 file changed
src/renderBase.js
@@ -295,7 +295,7 @@ export default class Render {
295
renderObj._stats.begin();
296
}
297
298
- if ((typeof document.visibilityState !== "undefined" && document.visibilityState !== "visible") || !renderObj.onScreen) return;
+ if (renderObj.options.pauseHidden && ((typeof document.visibilityState !== "undefined" && document.visibilityState !== "visible") || !renderObj.onScreen)) return;
299
300
if (limitFps) {
301
renderObj._animDelta += renderObj._clock.getDelta();
0 commit comments