anaralabs / anaralabs/lector

`jumpToRect` jumps to the wrong page

Đang mở
#78 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
395
Fork
39
Merge trung bình
7 giờ 7 phút
Pull request đã merge (30 ngày)
12

Mô tả

Using latest version of lib `"@anaralabs/lector": "^3.5.14"`

```
const { jumpToHighlightRects } = usePdfJump();
jumpToHighlightRects([rect], "percent", "center", 10);
```

calling `jumpToHighlightRects` with params of specific page eg:

```
{
pageNumber: 6
top: 10
left: 10
height: 10
width: 10
}
```

jumps to 8th page instead of 6th

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.