add screenshot progress indicator

This commit is contained in:
kwaroran
2024-06-18 22:24:38 +09:00
parent 8a8befecda
commit af8a213551

View File

@@ -338,11 +338,14 @@
for(const chat of chats){
const cnv = await html2canvas.toCanvas(chat as HTMLElement)
alertWait("Taking screenShot... "+canvases.length+"/"+chats.length)
canvases.push(cnv)
}
canvases.reverse()
alertWait("Merging images...")
let mergedCanvas = document.createElement('canvas');
mergedCanvas.width = 0;
mergedCanvas.height = 0;