mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 20:56:38 +02: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})
|
:rfn map->Rect})
|
||||||
|
|
||||||
(defn make-rect
|
(defn make-rect
|
||||||
|
([] (make-rect 0 0 0.01 0.01))
|
||||||
([data]
|
([data]
|
||||||
(if (rect? data)
|
(if (rect? data)
|
||||||
data
|
data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue