@glimt/record 0.0.12 → 0.0.13
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/record.cjs +3 -1
- package/dist/record.cjs.map +1 -1
- package/dist/record.js +3 -1
- package/dist/record.js.map +1 -1
- package/dist/record.umd.cjs +3 -1
- package/dist/record.umd.cjs.map +2 -2
- package/dist/record.umd.min.cjs +1 -1
- package/dist/record.umd.min.cjs.map +2 -2
- package/package.json +1 -1
package/dist/record.umd.cjs
CHANGED
|
@@ -396,7 +396,9 @@ function toLowerCase(str) {
|
|
|
396
396
|
}
|
|
397
397
|
const ORIGINAL_ATTRIBUTE_NAME = "__rrweb_original__";
|
|
398
398
|
function is2DCanvasBlank(canvas) {
|
|
399
|
-
const ctx = canvas.getContext("2d"
|
|
399
|
+
const ctx = canvas.getContext("2d", {
|
|
400
|
+
willReadFrequently: true
|
|
401
|
+
});
|
|
400
402
|
if (!ctx) return true;
|
|
401
403
|
const chunkSize = 50;
|
|
402
404
|
for (let x2 = 0; x2 < canvas.width; x2 += chunkSize) {
|