There was an error fetching the commit references. Please try again later.
fix: by obtaining the width and height of the pdf and passing it to b… (#151)
* fix: by obtaining the width and height of the pdf and passing it to boundingRect, the problem of inaccurate positioning of file highlighting is fixed * feat: remove actualPositions from buildChunkHighlights
Showing
- web/src/components/pdf-previewer/index.tsx 61 additions, 52 deletionsweb/src/components/pdf-previewer/index.tsx
- web/src/hooks/documentHooks.ts 16 additions, 5 deletionsweb/src/hooks/documentHooks.ts
- web/src/less/mixins.less 4 additions, 4 deletionsweb/src/less/mixins.less
- web/src/pages/add-knowledge/components/knowledge-chunk/components/document-preview/preview.tsx 61 additions, 51 deletions...s/knowledge-chunk/components/document-preview/preview.tsx
- web/src/pages/add-knowledge/components/knowledge-chunk/hooks.ts 14 additions, 6 deletions...c/pages/add-knowledge/components/knowledge-chunk/hooks.ts
- web/src/utils/documentUtils.ts 10 additions, 10 deletionsweb/src/utils/documentUtils.ts
Loading
Please register or sign in to comment