@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.
@@ -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) {