mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -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)
|
||||
(not (empty? (:interactions 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)
|
||||
(when show-itx?
|
||||
[:circle {:fill "#78dbbe"
|
||||
|
|
Loading…
Add table
Reference in a new issue