mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 06:41:37 +02:00
🐛 Fix function signature
This commit is contained in:
parent
e7f05f2efc
commit
1378e88431
1 changed files with 65 additions and 62 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue