Skip to content

Commit

Permalink
fixup! Support for OffscreenCanvas in Web Workers playcanvas#2481
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfranzl committed Mar 19, 2023
1 parent 0756ba8 commit bb76873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/graphics/graphics-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class GraphicsDevice extends EventHandler {
}

updateClientRect() {
this.clientRect = new DOMRect(0, 0, this.canvas.width, this.canvas.height)
this.clientRect = new DOMRect(0, 0, this.canvas.width, this.canvas.height);
}

/**
Expand Down

0 comments on commit bb76873

Please sign in to comment.