mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 04:08:23 +00:00
📎 Add arity-0 to make-rect function
This commit is contained in:
parent
8dfebc39fe
commit
e833e29bd4
@ -34,6 +34,7 @@
|
||||
:rfn map->Rect})
|
||||
|
||||
(defn make-rect
|
||||
([] (make-rect 0 0 0.01 0.01))
|
||||
([data]
|
||||
(if (rect? data)
|
||||
data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user