mirror of
https://github.com/penpot/penpot.git
synced 2026-02-25 13:56:04 +00:00
📎 Add arity-0 to make-rect function
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
:rfn map->Rect})
|
||||
|
||||
(defn make-rect
|
||||
([] (make-rect 0 0 0.01 0.01))
|
||||
([data]
|
||||
(if (rect? data)
|
||||
data
|
||||
|
||||
Reference in New Issue
Block a user