fix issue to drag/drop of image on canvas (#768)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user