diff --git a/whalesong/world/kernel.js b/whalesong/world/kernel.js index 2a283d5..9cf716f 100644 --- a/whalesong/world/kernel.js +++ b/whalesong/world/kernel.js @@ -315,6 +315,7 @@ ToDraw.prototype.toRawHandler = function(MACHINE, toplevelNode) { reusableCanvas.height = height; } var ctx = reusableCanvas.getContext("2d"); + ctx.clearRect(0, 0, width, height); v.render(ctx, 0, 0); success([toplevelNode, reusableCanvasNode]); } else {