AndersDJohnson / AndersDJohnson/magnificent.js
Automatic ratio
Ouverte
enhancement
help wanted
- Langage dominant
- JavaScript
- Étoiles
- 165
- Forks
- 45
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.