Skip to content

Commit

Permalink
Fix grid layer when exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Dec 25, 2023
1 parent 3d74f18 commit 7c5ea71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulator/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1023,8 +1023,8 @@ function exportImage(cropBox) {
var finalCtx = finalCanvas.getContext('2d');
finalCtx.fillStyle = "black";
finalCtx.fillRect(0, 0, imageWidth, imageHeight);
finalCtx.drawImage(canvasGrid, 0, 0);
finalCtx.drawImage(canvas0, 0, 0);
finalCtx.drawImage(canvasGrid, 0, 0);
finalCtx.drawImage(canvasLight, 0, 0);
finalCtx.drawImage(canvas, 0, 0);

Expand Down

0 comments on commit 7c5ea71

Please sign in to comment.