From 780f445f4a93996cc32ef5533502eee2b9a40374 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 24 Jan 2016 02:25:00 +0200 Subject: [PATCH] Add more shape types. --- src/uxbox/shapes.cljs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/uxbox/shapes.cljs b/src/uxbox/shapes.cljs index 5de0c2c06..44fa29c89 100644 --- a/src/uxbox/shapes.cljs +++ b/src/uxbox/shapes.cljs @@ -10,6 +10,10 @@ (def ^:static ^:private +hierarchy+ (as-> (make-hierarchy) $ (derive $ :builtin/icon ::shape) + (derive $ :builtin/rect ::shape) + (derive $ :builtin/line ::shape) + (derive $ :builtin/circle ::shape) + (derive $ :builtin/text ::shape) (derive $ :builtin/group ::shape))) (defn shape?