0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -05:00

🐛 Fix enable comment mode and insert image keeps on comment mode

This commit is contained in:
Alejandro Alonso 2023-07-25 16:57:39 +02:00
parent 8a3c580d0f
commit 92ee6320f5
2 changed files with 6 additions and 1 deletions

View file

@ -92,6 +92,8 @@
- Fix unnecessary button [Taiga #3312](https://tree.taiga.io/project/penpot/issue/3312)
- Fix copy color information in several formats [Taiga #4723](https://tree.taiga.io/project/penpot/issue/4723)
- Fix dropdown width [Taiga #5541](https://tree.taiga.io/project/penpot/issue/5541)
- Fix enable comment mode and insert image keeps on comment mode [Taiga #5678](https://tree.taiga.io/project/penpot/issue/5678)
### :arrow_up: Deps updates
- Update google fonts catalog (at 2023/07/06) [Taiga #5592](https://tree.taiga.io/project/penpot/issue/5592)

View file

@ -30,7 +30,10 @@
file-id (mf/use-ctx ctx/current-file-id)
on-click
(mf/use-fn #(dom/click (mf/ref-val ref)))
(mf/use-fn
(fn []
(st/emit! :interrupt dw/clear-edition-mode)
(dom/click (mf/ref-val ref))))
on-selected
(mf/use-fn