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.
2 parents 13d99c7 + 099b7f5 commit 31e4082Copy full SHA for 31e4082
src/common/HTMLCanvasElementLuminanceSource.ts
@@ -43,7 +43,7 @@ export class HTMLCanvasElementLuminanceSource extends LuminanceSource {
43
44
private buffer: Uint8ClampedArray;
45
46
- private tempCanvasElement?: HTMLCanvasElement;
+ private tempCanvasElement?: HTMLCanvasElement = null;
47
48
public constructor(private canvas: HTMLCanvasElement) {
49
super(canvas.width, canvas.height);
0 commit comments