diff options
-rw-r--r-- | experimental/SkV8Example/gears.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/experimental/SkV8Example/gears.js b/experimental/SkV8Example/gears.js index 7eb4c5b198..5ba2f995c2 100644 --- a/experimental/SkV8Example/gears.js +++ b/experimental/SkV8Example/gears.js @@ -97,6 +97,9 @@ var onDraw = function() { function draw(ctx) { ctx.resetTransform(); + ctx.fillStyle = "#FFFFFF"; + ctx.fillRect(0, 0, 499, 499); + rotation += DeltaTheta; if (rotation >= Math.PI*2) { rotation = 0; |