Skip to content

Commit 61d32d5

Browse files
author
Jonathan Feinberg
authored
Merge pull request jdf#112 from lucasviieira/fixes
Small syntax editions
2 parents 4e3cd69 + 93618af commit 61d32d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Tutorials/interactivity/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ <h3>Mouse buttons</h3>
396396

397397
def draw():
398398
background(204)
399-
if (mousePressed == true):
399+
if (mousePressed == True):
400400
fill(255) # White
401401
else:
402402
fill(0) # Black
@@ -1088,7 +1088,7 @@ <h3>Cursor icon</h3>
10881088
size(100, 100)
10891089
noCursor()
10901090

1091-
void draw():
1091+
def draw():
10921092
background(204)
10931093
if (mousePressed):
10941094
cursor()

0 commit comments

Comments
 (0)