From b7a21a1caff2d3ceb9fb8d08ab5869735968dac7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 18 Nov 2016 21:22:47 +0100 Subject: [PATCH] Use cursor as pointer on elements with interactions on view app. --- src/uxbox/view/ui/viewer/shapes.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uxbox/view/ui/viewer/shapes.cljs b/src/uxbox/view/ui/viewer/shapes.cljs index 1330ad88a..843e7e4df 100644 --- a/src/uxbox/view/ui/viewer/shapes.cljs +++ b/src/uxbox/view/ui/viewer/shapes.cljs @@ -53,7 +53,9 @@ (let [show-itx? (and (mx/react itx-flag-ref) (not (empty? (:interactions shape)))) rect (geom/inner-rect shape)] - [:g {:id (str "itx-" (:id shape))} + [:g {:id (str "itx-" (:id shape)) + :style (when show-itx? + {:cursor "pointer"})} (factory shape) (when show-itx? [:circle {:fill "#78dbbe"