diff --git a/app/javascript/src/canvas_proxy.ts b/app/javascript/src/canvas_proxy.ts index f24c9cbe2..2a924f578 100644 --- a/app/javascript/src/canvas_proxy.ts +++ b/app/javascript/src/canvas_proxy.ts @@ -17,10 +17,13 @@ export class CanvasProxy extends EventDispatcher { return { left: 0, top: 0, + x: 0, + y: 0, width: this.clientWidth, height: this.clientHeight, right: this.clientWidth, - bottom: this.clientHeight + bottom: this.clientHeight, + toJSON: () => ('') } }