@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/preact/index.js
CHANGED
|
@@ -1355,8 +1355,10 @@ function RenderAnnotation({
|
|
|
1355
1355
|
const task = annotationProvides.renderAnnotation({
|
|
1356
1356
|
pageIndex,
|
|
1357
1357
|
annotation,
|
|
1358
|
-
|
|
1359
|
-
|
|
1358
|
+
options: {
|
|
1359
|
+
scaleFactor,
|
|
1360
|
+
dpr: window.devicePixelRatio
|
|
1361
|
+
}
|
|
1360
1362
|
});
|
|
1361
1363
|
task.wait((blob) => {
|
|
1362
1364
|
const url = URL.createObjectURL(blob);
|