(pos)
| 586 | ); |
| 587 | }; |
| 588 | const xPos = (pos) => { |
| 589 | const containerScale = getContainerScale( |
| 590 | props.pdfOriginalWH, |
| 591 | props.pageNumber, |
| 592 | props.containerWH |
| 593 | ); |
| 594 | const resizePos = pos.xPosition; |
| 595 | |
| 596 | return resizePos * containerScale; // ✅ desktop: account for Page scale |
| 597 | }; |
| 598 | |
| 599 | const yPos = (pos) => { |
| 600 | const containerScale = getContainerScale( |
no test coverage detected