From 515a09dc79f818eec30915008c7974580d4e9a9e Mon Sep 17 00:00:00 2001 From: David Gomes Date: Sat, 16 Aug 2014 14:02:19 +0100 Subject: [PATCH] Colored background in Circle example. --- README.md | 2 +- demos/circle_example/PlayState.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1587769..53f292c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ function PlayState() { }; this.draw = function() { - penta.clearCanvas(); + penta.clearCanvas('#333'); // Colored background this.ball.draw(); }; diff --git a/demos/circle_example/PlayState.js b/demos/circle_example/PlayState.js index 56b8b66..c552c52 100644 --- a/demos/circle_example/PlayState.js +++ b/demos/circle_example/PlayState.js @@ -23,7 +23,7 @@ function PlayState() { }; this.draw = function() { - penta.clearCanvas(); + penta.clearCanvas('#333'); this.ball.draw(); };