Update Green-Party-petition.html
authorPatrick McGuire <insidenothing@gmail.com>
Mon, 27 Apr 2020 16:00:36 +0000 (12:00 -0400)
committerGitHub <noreply@github.com>
Mon, 27 Apr 2020 16:00:36 +0000 (12:00 -0400)
Green-Party-petition.html

index 3351556..0bb53ac 100644 (file)
@@ -31,6 +31,8 @@
     // Clear the canvas context using the canvas width and height
     function clearCanvas(canvas,ctx) {
         ctx.clearRect(0, 0, canvas.width, canvas.height);
+        var img = document.getElementById("petition");
+        ctx.drawImage(img, 10, 10);
     }
 
     // Keep track of the mouse button being pressed and draw a dot at current location