fix DOMRect type properties

This commit is contained in:
James Smith committed 2024-05-10 14:22:00 +01:00
1 parent 88aaebc9a3
commit 6faeb65e05
1 file changed
+4 -1
+4 -1
View File
@@ -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: () => ('')
}
}