0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Add more shape types.

This commit is contained in:
Andrey Antukh 2016-01-24 02:25:00 +02:00
parent f55d0f9f93
commit 780f445f4a

View file

@ -10,6 +10,10 @@
(def ^:static ^:private +hierarchy+ (def ^:static ^:private +hierarchy+
(as-> (make-hierarchy) $ (as-> (make-hierarchy) $
(derive $ :builtin/icon ::shape) (derive $ :builtin/icon ::shape)
(derive $ :builtin/rect ::shape)
(derive $ :builtin/line ::shape)
(derive $ :builtin/circle ::shape)
(derive $ :builtin/text ::shape)
(derive $ :builtin/group ::shape))) (derive $ :builtin/group ::shape)))
(defn shape? (defn shape?