diff --git a/src/js/logic/pdf-to-bmp.ts b/src/js/logic/pdf-to-bmp.ts index 442d68be..bb629f03 100644 --- a/src/js/logic/pdf-to-bmp.ts +++ b/src/js/logic/pdf-to-bmp.ts @@ -84,6 +84,7 @@ export async function pdfToBmp() { } showLoader('Compressing files into a ZIP...'); + await yieldToUI(); const zipBlob = await zip.generateAsync({ type: 'blob' }); downloadFile(zipBlob, getCleanFilename() + '_bmps.zip'); }