fix issue to drag/drop of image on canvas (#768)

This commit is contained in:
JFH
2022-05-29 11:11:47 +02:00
committed by GitHub
parent 8205b69d7f
commit 787aeaab36

View File

@@ -74,7 +74,7 @@ export default {
} else {
// bitmap handling
reader = new FileReader()
reader.onloadend = function ({ target: { result } }) {
reader.onloadend = ({ target: { result } }) => {
/**
* Insert the new image until we know its dimensions.
* @param {Float} imageWidth