diff --git a/src/steps/downloadStep.tsx b/src/steps/downloadStep.tsx index 753bf6883bc9489e11f2b2a9c1693f947a4c63a1..6d0163c773db3c07dfd482ca07f83006513d22f3 100644 --- a/src/steps/downloadStep.tsx +++ b/src/steps/downloadStep.tsx @@ -110,7 +110,7 @@ export class DownloadStep extends Step<DownloadStepState> { var newContext = newCanvas.getContext('2d'); newContext.fillStyle = "black"; newContext.fillRect(0, 0, newCanvas.width, newCanvas.height); - newContext.drawImage(raster.canvas, path.bounds.x - 0.5, path.bounds.y - 0.5); + newContext.drawImage(raster.canvas, path.bounds.x, path.bounds.y); // Re-aliasing const imageDataWrapper = new ImageDataWrapper(newContext.getImageData(0, 0, w, h));