AndersDJohnson / AndersDJohnson/magnificent.js
Automatic ratio
Đang mở
enhancement
help wanted
- Ngôn ngữ chính
- JavaScript
- Star
- 165
- Fork
- 45
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Instead of expecting container element to have fixed dimensions that match the content dimensions to maintain proportion, we could attempt to determine the appropriate ratio of the content automatically, e.g. by reading the image dimensions. This could be done real-time to accommodate changes post-initialization.
This might solve scaling issues in #7 when going full screen.
It might also be able to replace the `ratio` option when the zoom container is to have different proportion than the thumb container.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.