mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
🐛 Fix rasterizer using wrong sizes
This commit is contained in:
parent
d488d69abc
commit
1c29c73b8e
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
"Returns the adjusted size of an SVG."
|
||||
[width height max]
|
||||
(let [ratio (/ width height)]
|
||||
(if (> width height)
|
||||
(if (< width height)
|
||||
[max (* max (/ 1 ratio))]
|
||||
[(* max ratio) max])))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue