0
Fork 0
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:
Andrey Antukh 2023-07-05 12:52:52 +02:00
parent 8dfebc39fe
commit e833e29bd4

View file

@ -34,6 +34,7 @@
:rfn map->Rect})
(defn make-rect
([] (make-rect 0 0 0.01 0.01))
([data]
(if (rect? data)
data