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])))