-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
It seems Safari needs time to render each QR or you will get only the last one.
I replaced the downloadqrcodes function with:
async downloadqrcodes(event) {
for (let w = this.startip; w < this.startip + this.clientcount; w++) {
let canvas = document.getElementById("canvas" + w);
if (canvas) {
await this.downloadCanvas(canvas, this.clients[w].name);
}
}
},
downloadCanvas(canvas, filename) {
return new Promise((resolve) => {
download(canvas, filename);
setTimeout(resolve, 200);
});
}
Metadata
Metadata
Assignees
Labels
No labels