Skip to content

Commit 0e0ca80

Browse files
authored
Merge pull request #7614 from swastikCommits/fix/mouseWheel-example-fix
fix: mouseWheel example fixed while drawing the circle
2 parents 9a677c0 + 44728d3 commit 0e0ca80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/mouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ p5.prototype._pmouseWheelDeltaY = 0;
18021802
* background(200);
18031803
*
18041804
* // Draw the circle
1805-
* circle(circleSize, 50, 50);
1805+
* circle(50, 50, circleSize);
18061806
* }
18071807
*
18081808
* // Increment circleSize when the user scrolls the mouse wheel.

0 commit comments

Comments
 (0)