0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 21:09:00 -05:00

Add pointer cursor to all shapes that have interactions (view).

This commit is contained in:
Andrey Antukh 2017-03-21 16:48:19 +01:00
parent 7c4717fcfa
commit d808ca2a87
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -60,8 +60,7 @@
(not (empty? (:interactions shape)))) (not (empty? (:interactions shape))))
rect (geom/shape->rect-shape shape)] rect (geom/shape->rect-shape shape)]
[:g {:id (str "itx-" (:id shape)) [:g {:id (str "itx-" (:id shape))
:style (when show-itx? :style {:cursor "pointer"}}
{:cursor "pointer"})}
(factory shape) (factory shape)
(when show-itx? (when show-itx?
[:circle {:fill "#78dbbe" [:circle {:fill "#78dbbe"