anaralabs / anaralabs/lector

Zoom control is limited in terms of responsiveness

Đang mở
#48 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ả

As I understand, it is currently only possible to set:

1. A fixed zoom level relative to the standard size of the PDF document
2. A zoom level to fit 100% width of the container element.

What I'm trying to achieve is similar to default Mozilla PDF Viewer behaviour – set a responsive zoom level that fits the container width, but keep a few pixels of blank space on each side. In a small container, this will make the UI less crowded.

### Example of what I would like to achieve
https://github.com/user-attachments/assets/c9b25c96-7d64-4c5a-a109-2c5bebffc429

Is there any way I can implement this in the current version of the library? If not, could you please provide such ability in future updates? Thanks.

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.