This commit is contained in:
Anton Lavrenov
2019-01-19 10:31:07 -05:00
parent 3002891f5e
commit d660efe9fa

View File

@@ -144,7 +144,7 @@ function compareCanvases(canvas1, canvas2, tol) {
b.appendChild(canvas2);
c.appendChild(diffCanvas);
var base64 = diffCanvas.getContext('2d').toDataURL();
var base64 = diffCanvas.toDataURL();
console.error('Diff image:');
console.error(base64);