An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/9831
Vanessab31765d0ab1e
diff --git a/app/src/asset/anno.ts b/app/src/asset/anno.tsindex 5400de0ea7..164bc000d5 100644--- a/app/src/asset/anno.ts+++ b/app/src/asset/anno.ts@@ -553,12 +553,12 @@ const showHighlight = (selected: IPdfAnno, pdf: any, hl?: boolean) => {if (!textLayerElement.lastElementChild) {return;}- const viewport = page.viewport;++ const viewport = page.viewport.clone({rotation: 0}); // rotation https://github.com/siyuan-note/siyuan/issues/9831if (textLayerElement.lastElementChild.classList.contains("endOfContent")) {textLayerElement.insertAdjacentHTML("beforeend", "<div></div>");}textLayerElement = textLayerElement.lastElementChild;-let html = `<div class="pdf__rect popover__block" data-node-id="${selected.id}" data-mode="${selected.mode}">`;selected.coords.forEach((rect) => {const bounds = viewport.convertToViewportRectangle(rect);