mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 19:52:18 -05:00
fix DOMRect type properties
This commit is contained in:
1 file changed
+4
-1
@@ -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: () => ('')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user