Skip to content

Commit

Permalink
Update TextureManager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Jan 12, 2024
1 parent 4700a80 commit 8cae5a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/textures/TextureManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1152,9 +1152,9 @@ var TextureManager = new Class({
* @since 3.0.0
*
* @param {string} key - The unique string-based key of the Texture.
* @param {(HTMLImageElement|HTMLImageElement[])} source - The source Image element.
* @param {number} [width] - The width of the Texture.
* @param {number} [height] - The height of the Texture.
* @param {(HTMLImageElement|HTMLCanvasElement|HTMLImageElement[]|HTMLCanvasElement[])} source - An array of sources that are used to create the texture. Usually Images, but can also be a Canvas.
* @param {number} [width] - The width of the Texture. This is optional and automatically derived from the source images.
* @param {number} [height] - The height of the Texture. This is optional and automatically derived from the source images.
*
* @return {?Phaser.Textures.Texture} The Texture that was created, or `null` if the key is already in use.
*/
Expand Down

0 comments on commit 8cae5a3

Please sign in to comment.