Skip to content
Snippets Groups Projects
Commit 86bf8742 authored by Laurent Knoll's avatar Laurent Knoll
Browse files

Divers qualité de code

parent 707b58a4
No related branches found
No related tags found
No related merge requests found
...@@ -101,10 +101,10 @@ export class DownloadStep extends Step<DownloadStepState> { ...@@ -101,10 +101,10 @@ export class DownloadStep extends Step<DownloadStepState> {
let raster = path.rasterize({ insert: false}); let raster = path.rasterize({ insert: false});
raster.smoothing = "off"; raster.smoothing = "off";
var newCanvas = document.createElement('canvas'); let newCanvas = document.createElement('canvas');
const w = this.props.lab.data.pictureSize.width; let w = this.props.lab.data.pictureSize.width;
newCanvas.width = w; newCanvas.width = w;
const h = this.props.lab.data.pictureSize.height; let h = this.props.lab.data.pictureSize.height;
newCanvas.height = h; newCanvas.height = h;
var newContext = newCanvas.getContext('2d'); var newContext = newCanvas.getContext('2d');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment