mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
🐛 Fix toggle overlay position
This commit is contained in:
parent
dc6afb46bf
commit
67cbfc631d
1 changed files with 5 additions and 1 deletions
|
@ -69,7 +69,11 @@
|
||||||
|
|
||||||
:toggle-overlay
|
:toggle-overlay
|
||||||
(let [frame-id (:destination interaction)
|
(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)
|
close-click-outside (:close-click-outside interaction)
|
||||||
background-overlay (:background-overlay interaction)]
|
background-overlay (:background-overlay interaction)]
|
||||||
(when frame-id
|
(when frame-id
|
||||||
|
|
Loading…
Add table
Reference in a new issue