Skip to content

Commit 25bac6c

Browse files
committedMay 4, 2015
demo minor change
1 parent 9607c6c commit 25bac6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎p5-element.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
* @property drawFunction
152152
* @type {String}
153153
*/
154-
drawFunction: 'fill(255,5);\nrect(0, 0, width, height);\nrect(x, y, 20, 20);\nx++;\ny++;\nif(x > width - 20) x = 0;\nif(y > height - 20) y = 0; ',
154+
drawFunction: 'fill(255,5);\nrect(-1, -1, width+1, height+1);\nrect(x, y, 20, 20);\nx++;\ny++;\nif(x > width - 20) x = 0;\nif(y > height - 20) y = 0; ',
155155
/**
156156
* Hide the code block and only display canvas
157157
*

0 commit comments

Comments
 (0)
Please sign in to comment.