mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 06:51:38 +02:00
✨ Better overlays interactions on boards inside boards
This commit is contained in:
parent
58dbe21544
commit
1affb53a26
9 changed files with 595 additions and 314 deletions
|
@ -121,9 +121,9 @@
|
|||
(rx/concat
|
||||
(rx/of (dch/update-shapes [(:id shape)]
|
||||
(fn [shape]
|
||||
(let [new-interaction (ctsi/set-destination
|
||||
ctsi/default-interaction
|
||||
destination)]
|
||||
(let [new-interaction (-> ctsi/default-interaction
|
||||
(ctsi/set-destination destination)
|
||||
(assoc :position-relative-to (:id shape)))]
|
||||
(update shape :interactions
|
||||
ctsi/add-interaction new-interaction)))))
|
||||
(when (and (not (connected-frame? objects (:id frame)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue