From b0fbc86ca7d9c3f35c1036dbdcb4be8afab847e3 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 25 Nov 2020 20:08:19 +0100 Subject: [PATCH] :bug: Don't show pointer when no interactions on viewer. --- frontend/src/app/main/ui/viewer/shapes.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/viewer/shapes.cljs b/frontend/src/app/main/ui/viewer/shapes.cljs index 211c50b1f..f3dcd254a 100644 --- a/frontend/src/app/main/ui/viewer/shapes.cljs +++ b/frontend/src/app/main/ui/viewer/shapes.cljs @@ -58,7 +58,7 @@ [:> shape-container {:shape shape :on-mouse-down on-mouse-down - :cursor (when (:interactions shape) "pointer")} + :cursor (when (seq (:interactions shape)) "pointer")} [:& component {:shape shape :frame frame :childs childs