mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 07:30:24 +00:00
Use cursor as pointer on elements with interactions on view app.
This commit is contained in:
parent
770007742f
commit
b7a21a1caf
@ -53,7 +53,9 @@
|
|||||||
(let [show-itx? (and (mx/react itx-flag-ref)
|
(let [show-itx? (and (mx/react itx-flag-ref)
|
||||||
(not (empty? (:interactions shape))))
|
(not (empty? (:interactions shape))))
|
||||||
rect (geom/inner-rect 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)
|
(factory shape)
|
||||||
(when show-itx?
|
(when show-itx?
|
||||||
[:circle {:fill "#78dbbe"
|
[:circle {:fill "#78dbbe"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user