mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 10:56:20 +00:00
Add pointer cursor to all shapes that have interactions (view).
This commit is contained in:
parent
7c4717fcfa
commit
d808ca2a87
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user