Permalink
Browse files

Added fill color for single pixel fill

  • Loading branch information...
1 parent d0173b7 commit 78cd6d3fabf1246279e1a28585474794014b8e8c @paullewis paullewis committed Sep 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 static/tests/canvasclear.html
@@ -21,6 +21,7 @@
// create a canvas
canvas = document.createElement('canvas');
context = canvas.getContext('2d');
+ context.fillStyle = "#000000";
canvasStyle = canvas.style;
// set its width and height using CSS

0 comments on commit 78cd6d3

Please sign in to comment.