Skip to content

Commit 05a4e8d

Browse files
committed
modified: src/events/mouse.js
1 parent f702842 commit 05a4e8d

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
@@ -621,7 +621,7 @@ p5.prototype._onmousemove = function(e) {
621621
* describe('black 50-by-50 rect turns white with mouse click/press.');
622622
* }
623623
* function mousePressed() {
624-
* if (value === 0) {
624+
* if (colorValue === 0) {
625625
* colorValue = 255;
626626
* } else {
627627
* colorValue = 0;

0 commit comments

Comments
 (0)