Skip to content

Commit

Permalink
fix: OverlayTool now considers overlay initial position (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
fexman authored Feb 13, 2020
1 parent 16be0e6 commit 7db55a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/OverlayTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class OverlayTool extends BaseTool {
}

// Draw the overlay layer onto the canvas
canvasContext.drawImage(layerCanvas, 0, 0);
canvasContext.drawImage(layerCanvas, overlay.x, overlay.y);
});
}
}

0 comments on commit 7db55a6

Please sign in to comment.