Skip to content

Commit

Permalink
demo minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
sepans committed May 4, 2015
1 parent 9607c6c commit 25bac6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p5-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
* @property drawFunction
* @type {String}
*/
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; ',
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; ',
/**
* Hide the code block and only display canvas
*
Expand Down

0 comments on commit 25bac6c

Please sign in to comment.