Skip to content

Commit

Permalink
improved pixedDensity function
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav-1306 committed Oct 5, 2023
1 parent 2513351 commit dfb27a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image/p5.Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ p5.Image = class {
*
* @method pixelDensity
* @param {Number} [density] A scaling factor for the number of pixels per
* side of the framebuffer
* side
* @returns {Number} The current density if called without arguments, or the instance for chaining if setting density.
*/
pixelDensity(density) {
Expand Down

0 comments on commit dfb27a3

Please sign in to comment.