diff --git a/packages/runtime/src/canvas.ts b/packages/runtime/src/canvas.ts index 2938ca32..8e6dd945 100644 --- a/packages/runtime/src/canvas.ts +++ b/packages/runtime/src/canvas.ts @@ -24,6 +24,7 @@ export class Canvas extends EventTarget { height: number; constructor(width: number, height: number) { + super(); this.width = width; this.height = height; }