From 9aae0f0ce3ad4e4d79cdfb38589ad15e754dcd14 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 12 Aug 2016 21:09:35 +0300 Subject: [PATCH] Add basic element options for path shapes. --- src/uxbox/main/ui/workspace/sidebar/drawtools.cljs | 3 ++- src/uxbox/main/ui/workspace/sidebar/options.cljs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uxbox/main/ui/workspace/sidebar/drawtools.cljs b/src/uxbox/main/ui/workspace/sidebar/drawtools.cljs index 24af1b0f9..51016f641 100644 --- a/src/uxbox/main/ui/workspace/sidebar/drawtools.cljs +++ b/src/uxbox/main/ui/workspace/sidebar/drawtools.cljs @@ -53,7 +53,8 @@ :stroke-type :solid :stroke "#000000" :stroke-width 2 - :fill "transparent" + :fill "#000000" + :fill-opacity 0 ;; :close? true :points []}) diff --git a/src/uxbox/main/ui/workspace/sidebar/options.cljs b/src/uxbox/main/ui/workspace/sidebar/options.cljs index ac9b5b98b..bab309938 100644 --- a/src/uxbox/main/ui/workspace/sidebar/options.cljs +++ b/src/uxbox/main/ui/workspace/sidebar/options.cljs @@ -39,6 +39,7 @@ {:icon [:menu/icon-measures :menu/fill :menu/stroke :menu/interactions] :rect [:menu/rect-measures :menu/fill :menu/stroke :menu/interactions] :line [:menu/line-measures :menu/stroke :menu/interactions] + :path [:menu/fill :menu/stroke :menu/interactions] :circle [:menu/circle-measures :menu/fill :menu/stroke :menu/interactions] :text [:menu/fill :menu/text :menu/interactions] :group []})