@embedpdf/plugin-annotation 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -23
- package/dist/index.js.map +1 -1
- package/dist/lib/annotation-plugin.d.ts +1 -3
- package/dist/lib/types.d.ts +2 -6
- package/dist/preact/index.cjs +1 -1
- package/dist/preact/index.cjs.map +1 -1
- package/dist/preact/index.js +4 -2
- package/dist/preact/index.js.map +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +4 -2
- package/dist/react/index.js.map +1 -1
- package/package.json +9 -9
package/dist/react/index.js
CHANGED
|
@@ -1354,8 +1354,10 @@ function RenderAnnotation({
|
|
|
1354
1354
|
const task = annotationProvides.renderAnnotation({
|
|
1355
1355
|
pageIndex,
|
|
1356
1356
|
annotation,
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
options: {
|
|
1358
|
+
scaleFactor,
|
|
1359
|
+
dpr: window.devicePixelRatio
|
|
1360
|
+
}
|
|
1359
1361
|
});
|
|
1360
1362
|
task.wait((blob) => {
|
|
1361
1363
|
const url = URL.createObjectURL(blob);
|