mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
📎 Add arity-0 to make-rect function
This commit is contained in:
parent
8dfebc39fe
commit
e833e29bd4
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
:rfn map->Rect})
|
||||
|
||||
(defn make-rect
|
||||
([] (make-rect 0 0 0.01 0.01))
|
||||
([data]
|
||||
(if (rect? data)
|
||||
data
|
||||
|
|
Loading…
Add table
Reference in a new issue