Skip to content

Commit

Permalink
Mark _update image function as private
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Sep 26, 2023
1 parent c459ca4 commit 3e7c526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ export class RawImage {
* @param {number} width The new width of the image.
* @param {number} height The new height of the image.
* @param {1|2|3|4|null} [channels] The new number of channels of the image.
* @private
*/
_update(data, width, height, channels = null) {
this.data = data;
Expand Down

0 comments on commit 3e7c526

Please sign in to comment.