kevoj/angular-editor-fabric-js

missing line in line no 195

ahmedtamseer opened this issue · 3 comments

readUrl(event) {
if (event.target.files && event.target.files[0]) {
var reader = new FileReader();
reader.onload = (event) => {
this.url = event.target['result'];
this.addImageOnCanvas(this.url); //You are missing this line
}
reader.readAsDataURL(event.target.files[0]);
}
}

kevoj commented

Thank you very much for your contribution, I will implement it as soon as I can!

I implemented this in my PR.

#12

I am closing this. Thank you for your response