From dfb27a380d01c29cdb9e3beef68ff98506c6d2c3 Mon Sep 17 00:00:00 2001 From: Gaurav Tiwary <97665755+Gaurav-1306@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:49:34 +0530 Subject: [PATCH] improved pixedDensity function --- src/image/p5.Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image/p5.Image.js b/src/image/p5.Image.js index dbf2e122da..9c85f70f98 100644 --- a/src/image/p5.Image.js +++ b/src/image/p5.Image.js @@ -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) {