mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
🐛 Fix overlay close from an artboard
This commit is contained in:
parent
a2d1ce8120
commit
e563611c05
2 changed files with 3 additions and 1 deletions
|
@ -64,6 +64,7 @@
|
|||
- Fix border radius values with decimals [Taiga #5283](https://tree.taiga.io/project/penpot/issue/5283)
|
||||
- Fix shortcuts translations not homogenized [Taiga #5141](https://tree.taiga.io/project/penpot/issue/5141)
|
||||
- Fix overlay manual position in nested boards [Taiga #5135](https://tree.taiga.io/project/penpot/issue/5135)
|
||||
- Fix close overlay from a nested board [Taiga #5587](https://tree.taiga.io/project/penpot/issue/5587)
|
||||
|
||||
### :arrow_up: Deps updates
|
||||
|
||||
|
|
|
@ -110,7 +110,8 @@
|
|||
|
||||
:close-overlay
|
||||
(let [dest-frame-id (or (:destination interaction)
|
||||
(if (= (:type shape) :frame)
|
||||
(if (and (= (:type shape) :frame)
|
||||
(some #(= (:id %) (:id shape)) overlays))
|
||||
(:id shape)
|
||||
(:frame-id shape)))]
|
||||
(st/emit! (dv/close-overlay dest-frame-id (:animation interaction))))
|
||||
|
|
Loading…
Reference in a new issue