We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cb06c commit dd626d8Copy full SHA for dd626d8
src/layout.jl
@@ -13,7 +13,7 @@ struct Rect
13
end
14
15
function Rect(x, y, aspect_ratio::Rational)
16
- h = √(max_area / aspect_ratio)
+ h = √(MAX_AREA / aspect_ratio)
17
w = h * aspect_ratio
18
return Rect(x, y, w, h)
19
0 commit comments