From 1c29c73b8e564669f04ba28fd175d7a960e8139a Mon Sep 17 00:00:00 2001 From: Aitor Date: Fri, 8 Mar 2024 13:34:13 +0100 Subject: [PATCH] :bug: Fix rasterizer using wrong sizes --- frontend/src/app/rasterizer.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/rasterizer.cljs b/frontend/src/app/rasterizer.cljs index b8eff23366..e2bf9ede6e 100644 --- a/frontend/src/app/rasterizer.cljs +++ b/frontend/src/app/rasterizer.cljs @@ -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])))