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

master
JFH 2022-05-29 11:11:47 +02:00 committed by GitHub
parent 8205b69d7f
commit 787aeaab36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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