object freeze on stored picture
This commit is contained in:
parent
a12b75287e
commit
c847e6c218
@ -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