fix issue to drag/drop of image on canvas (#768)
This commit is contained in:
@@ -74,7 +74,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
// bitmap handling
|
// bitmap handling
|
||||||
reader = new FileReader()
|
reader = new FileReader()
|
||||||
reader.onloadend = function ({ target: { result } }) {
|
reader.onloadend = ({ target: { result } }) => {
|
||||||
/**
|
/**
|
||||||
* Insert the new image until we know its dimensions.
|
* Insert the new image until we know its dimensions.
|
||||||
* @param {Float} imageWidth
|
* @param {Float} imageWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user