Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

Commit ddce555

Browse files
Added exportImageToCanvas API
1 parent d2cbf51 commit ddce555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export default class extends PureComponent {
212212
let width = canvasToExport.width;
213213
let height = canvasToExport.height;
214214

215-
//get the current ImageData for the canvas.
215+
//get the current ImageData for the canvas
216216
let storedImageData = context.getImageData(0, 0, width, height);
217217

218218
//store the current globalCompositeOperation

0 commit comments

Comments
 (0)