mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
9b91c1e5fc
commit
73579cfa73
1 changed files with 2 additions and 3 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue