Update notes to include change to app.js change

This commit is contained in:
pythongosssss
2023-03-13 13:46:46 +00:00
committed by GitHub
parent 8010d9b056
commit 600b7f01da
+11 -1
View File
@@ -1,2 +1,12 @@
This will store the base64 encoded version of every input image in memory until it is removed from history
May need some kind of limit on this...
May need some kind of limit on this...
Requires an update to app.js to allow rendering of b64 images
around line 113ish (in function addDrawBackgroundHandler) replace:
img.src = "/view/" + src;
with
img.src = src.startsWith("data:image") ? src : "/view/" + src;