AndersDJohnson / AndersDJohnson/magnificent.js

Automatic ratio

Ouverte
#13 0 commentaires 0 réactions 1 personne assignée Réclamée par @AndersDJohnson Voir sur GitHub
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.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.