@posthog/rrweb-record 0.0.43 → 0.0.44
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/dist/rrweb-record.cjs +6 -1
- package/dist/rrweb-record.cjs.map +1 -1
- package/dist/rrweb-record.js +6 -1
- package/dist/rrweb-record.js.map +1 -1
- package/dist/rrweb-record.umd.cjs +6 -1
- package/dist/rrweb-record.umd.cjs.map +2 -2
- package/dist/rrweb-record.umd.min.cjs +1 -1
- package/dist/rrweb-record.umd.min.cjs.map +2 -2
- package/package.json +4 -4
package/dist/rrweb-record.cjs
CHANGED
|
@@ -12414,6 +12414,9 @@ class CanvasManager {
|
|
|
12414
12414
|
this.locked = false;
|
|
12415
12415
|
}
|
|
12416
12416
|
initCanvasFPSObserver(fps, win, blockClass, blockSelector, options) {
|
|
12417
|
+
if (!("OffscreenCanvas" in win)) {
|
|
12418
|
+
return;
|
|
12419
|
+
}
|
|
12417
12420
|
const canvasContextReset = initCanvasContextObserver(
|
|
12418
12421
|
win,
|
|
12419
12422
|
blockClass,
|
|
@@ -12454,7 +12457,9 @@ class CanvasManager {
|
|
|
12454
12457
|
0
|
|
12455
12458
|
]
|
|
12456
12459
|
}
|
|
12457
|
-
]
|
|
12460
|
+
],
|
|
12461
|
+
displayWidth: width,
|
|
12462
|
+
displayHeight: height
|
|
12458
12463
|
});
|
|
12459
12464
|
};
|
|
12460
12465
|
const timeBetweenSnapshots = 1e3 / fps;
|