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 21, 2023
1 parent bb76873 commit 5c5db03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const platform = {
browser: environment === 'browser',

/**
* Convenience boolean indicating whether we're running in a web worker
* Convenience boolean indicating whether we're running in a Web Worker
*
* @type {boolean}
*/
Expand Down
2 changes: 1 addition & 1 deletion src/framework/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Application extends AppBase {
/**
* Create a new Application instance.
*
* @param {HTMLCanvasElement | OffscreenCanvas } canvas - The canvas element.
* @param {HTMLCanvasElement | OffscreenCanvas} canvas - The canvas element.
* @param {object} [options] - The options object to configure the Application.
* @param {import('./input/element-input.js').ElementInput} [options.elementInput] - Input
* handler for {@link ElementComponent}s.
Expand Down

0 comments on commit 5c5db03

Please sign in to comment.