Skip to content

Commit

Permalink
feat(preserveAspectRatio): added option to preserve aspect ratio
Browse files Browse the repository at this point in the history
When set to true and both width and height are specified, they are interpreted as the minimum width and minimum height, respectively.
If set to true with only the width specified, the height will be automatically determined while preserving the aspect ratio, and vice versa.

fixes #88, #189
  • Loading branch information
mskec committed Nov 18, 2023
1 parent 4f84d93 commit c543022
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions demo.ts

This file was deleted.

0 comments on commit c543022

Please sign in to comment.