🐛 Fix function signature

This commit is contained in:
alonso.torres 2023-10-09 11:49:00 +02:00
parent e7f05f2efc
commit 1378e88431

View file

@ -27,7 +27,10 @@
(defn child-layout-bound-points
"Returns the bounds of the children as points"
[parent child parent-bounds child-bounds correct-v bounds objects]
([parent child parent-bounds child-bounds bounds objects]
(child-layout-bound-points parent child parent-bounds child-bounds (gpt/point) bounds objects))
([parent child parent-bounds child-bounds correct-v bounds objects]
(let [row? (ctl/row? parent)
col? (ctl/col? parent)
@ -111,7 +114,7 @@
(and col? (ctl/fill-height? child))
(gpt/subtract (vv (+ height min-height)))
)]
[result correct-v]))
[result correct-v])))
(defn layout-content-points
[bounds parent children objects]