mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 13:21:39 +02:00
🎉 Allow to position interaction overlays
This commit is contained in:
parent
4708af3b91
commit
157e8413fb
9 changed files with 372 additions and 67 deletions
|
@ -39,9 +39,10 @@
|
|||
(st/emit! (dv/go-to-frame frame-id)))
|
||||
|
||||
:open-overlay
|
||||
(let [frame-id (:destination interaction)]
|
||||
(let [frame-id (:destination interaction)
|
||||
position (:overlay-position interaction)]
|
||||
(dom/stop-propagation event)
|
||||
(st/emit! (dv/open-overlay frame-id)))
|
||||
(st/emit! (dv/open-overlay frame-id position)))
|
||||
|
||||
:close-overlay
|
||||
(let [frame-id (or (:destination interaction)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue