⬆️ pdf

This commit is contained in:
Vanessa 2022-10-01 23:56:45 +08:00
parent 9b91c1e5fc
commit 73579cfa73

View file

@ -239,9 +239,8 @@ class PDFThumbnailView {
const image = document.createElement("img");
image.className = "thumbnailImage";
this._thumbPageCanvas.then(msg => {
image.setAttribute("aria-label", msg);
});
// NOTE
image.setAttribute("aria-label", this._thumbPageCanvas);
image.style.width = this.canvasWidth + "px";
image.style.height = this.canvasHeight + "px";