|
@@ -51,11 +51,11 @@ const Ink: React.FC<AnnotationElementPropsType> = ({
|
|
let x = (ele.x + dx) * rx;
|
|
let x = (ele.x + dx) * rx;
|
|
let y = (ele.y - dy) * ry;
|
|
let y = (ele.y - dy) * ry;
|
|
|
|
|
|
- if (rx !== 1 || ry !== 1) {
|
|
|
|
|
|
+ if (rx !== 1) {
|
|
x = x - disX;
|
|
x = x - disX;
|
|
}
|
|
}
|
|
if (ry !== 1) {
|
|
if (ry !== 1) {
|
|
- y = y - disY;
|
|
|
|
|
|
+ y = y - disY + 5;
|
|
}
|
|
}
|
|
|
|
|
|
return {
|
|
return {
|