mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 00:58:26 -05:00
🐛 Fix create interactions with nested frames
This commit is contained in:
parent
619b557c80
commit
74e57c00af
1 changed files with 4 additions and 1 deletions
|
@ -208,7 +208,10 @@
|
|||
from-frame-id (if (cfh/frame-shape? from-shape)
|
||||
from-id (:frame-id from-shape))
|
||||
|
||||
target-frame (ctst/get-frame-by-position objects position)]
|
||||
target-frame
|
||||
(->> (ctst/get-frames-by-position objects position)
|
||||
(remove :hide-in-viewer)
|
||||
(last))]
|
||||
|
||||
(when (and (not= (:id target-frame) uuid/zero)
|
||||
(not= (:id target-frame) from-frame-id))
|
||||
|
|
Loading…
Add table
Reference in a new issue