Skip to content

Commit 9acb575

Browse files
Interactivity tutorial bugfix: true --> True
closes jdf#156
1 parent c6582a3 commit 9acb575

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Tutorials/interactivity/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ <h3>Mouse buttons</h3>
459459
size(100, 100)
460460

461461
def draw():
462-
if (mousePressed == true):
462+
if (mousePressed == True):
463463
if (mouseButton == LEFT):
464464
fill(0) # Black
465465
elif (mouseButton == RIGHT):

0 commit comments

Comments
 (0)