mirror of
https://github.com/penpot/penpot.git
synced 2025-02-03 04:49:03 -05:00
Use cursor as pointer on elements with interactions on view app.
This commit is contained in:
parent
770007742f
commit
b7a21a1caf
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue