From 554157ade05cc396c7388115236f4218b429055f Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Mon, 18 Feb 2019 17:32:40 +0100 Subject: [PATCH] :construction: TG-269 Display rectangle over interaction --- frontend/src/uxbox/view/ui/viewer/shapes.cljs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/uxbox/view/ui/viewer/shapes.cljs b/frontend/src/uxbox/view/ui/viewer/shapes.cljs index 296c5d474c..67aa0fec40 100644 --- a/frontend/src/uxbox/view/ui/viewer/shapes.cljs +++ b/frontend/src/uxbox/view/ui/viewer/shapes.cljs @@ -63,15 +63,16 @@ :style {:cursor "pointer"}} (factory shape) (when show-itx? - [:circle {:class "interaction-bullet" - :cx (:x1 rect) - :cy (:y1 rect) - :r 5}] [:rect {:class "interaction-hightlight" :x (:x1 rect) :y (:y1 rect) :width (:width rect) - :height (:height rect)}])])) + :height (:height rect)}])) + +;; [:circle {:class "interaction-bullet" +;; :cx (:x1 rect) +;; :cy (:y1 rect) +;; :r 5}])] ;; --- Image Shape Wrapper ;;