@edgepdf/viewer-react 0.0.34 → 0.0.35
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.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11506,8 +11506,10 @@ var MarkerManager = class {
|
|
|
11506
11506
|
}
|
|
11507
11507
|
const overlaySize = 40;
|
|
11508
11508
|
const borderWidth = 1;
|
|
11509
|
-
const
|
|
11510
|
-
const
|
|
11509
|
+
const iconCenterOffsetX = MARKER_SPEC.WIDTH / 2 - MARKER_SPEC.ANCHOR_X;
|
|
11510
|
+
const iconCenterOffsetY = MARKER_SPEC.HEIGHT / 2 - MARKER_SPEC.ANCHOR_Y;
|
|
11511
|
+
const overlayAnchorX = overlaySize / 2 - iconCenterOffsetX;
|
|
11512
|
+
const overlayAnchorY = overlaySize / 2 - iconCenterOffsetY;
|
|
11511
11513
|
const overlayHTML = `
|
|
11512
11514
|
<div style="
|
|
11513
11515
|
width: ${overlaySize}px;
|
package/package.json
CHANGED