From fe10b9a8649954759a6e539664dca2b388a4f8f6 Mon Sep 17 00:00:00 2001 From: afthal-ahamad01 Date: Wed, 12 Mar 2025 17:36:42 +0530 Subject: [PATCH] Fixed incorrect example in mouseWheel reference. --- src/content/reference/en/p5/mouseWheel.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/en/p5/mouseWheel.mdx b/src/content/reference/en/p5/mouseWheel.mdx index 12317224e2..e90ac41591 100644 --- a/src/content/reference/en/p5/mouseWheel.mdx +++ b/src/content/reference/en/p5/mouseWheel.mdx @@ -97,7 +97,7 @@ example: background(200); // Draw the circle - circle(circleSize, 50, 50); + circle(width / 2, height / 2, circleSize); } // Increment circleSize when the user scrolls the mouse wheel.