mirror of
https://github.com/penpot/penpot.git
synced 2026-03-10 12:16:17 +00:00
🐛 Fix create interactions with nested frames
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user