picture to initial state #7
@ -52,7 +52,7 @@
|
||||
const reader = new FileReader();
|
||||
|
||||
reader.onload = () => {
|
||||
this.picture.src = reader.result;
|
||||
this.picture.src = Object.freeze(reader.result);
|
||||
this.toggle2dDrawFromPicture();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user