Skip to content

Commit

Permalink
[doc] hide private functions
Browse files Browse the repository at this point in the history
  • Loading branch information
obiot committed Jan 3, 2023
1 parent 1c88f61 commit ab448aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/application/resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as device from "./../system/device";
* scale the "displayed" canvas by the given scalar.
* this will modify the size of canvas element directly.
* Only use this if you are not using the automatic scaling feature.
* @private
* @param {Application} game - the game application instance triggering the resize
* @param {number} x - x scaling multiplier
* @param {number} y - y scaling multiplier
Expand Down Expand Up @@ -35,6 +36,7 @@ function scale(game, x, y) {

/**
* callback for window resize event
* @private
* @param {Application} game - the game application instance triggering the resize
*/
export function onresize(game) {
Expand Down

0 comments on commit ab448aa

Please # to comment.