0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix toggle overlay position

This commit is contained in:
Eva 2022-09-06 12:55:15 +02:00 committed by Andrés Moya
parent dc6afb46bf
commit 67cbfc631d

View file

@ -69,7 +69,11 @@
:toggle-overlay
(let [frame-id (:destination interaction)
position (:overlay-position interaction)
dest-frame (get objects frame-id)
position (ctsi/calc-overlay-position interaction
base-frame
dest-frame
frame-offset)
close-click-outside (:close-click-outside interaction)
background-overlay (:background-overlay interaction)]
(when frame-id