@urso/core 0.7.71 → 0.7.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -324,7 +324,9 @@ class ModulesScenesPixiWrapper {
|
|
|
324
324
|
* reserve loop, when browser tab is inactive
|
|
325
325
|
* @param {Boolean} isVisible
|
|
326
326
|
*/
|
|
327
|
-
_visibilityChangeHandler(
|
|
327
|
+
_visibilityChangeHandler(state) {
|
|
328
|
+
const isVisible = state === 'visible';
|
|
329
|
+
|
|
328
330
|
if (isVisible) {
|
|
329
331
|
if (this.passiveCallIntervalId) {
|
|
330
332
|
clearInterval(this.passiveCallIntervalId);
|