0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

Merge pull request #2343 from penpot/palba-fix-ungroup-typography

🐛 Fix ungroup does not work for typographies
This commit is contained in:
Eva Marco 2022-09-26 13:13:05 +02:00 committed by GitHub
commit 61d1a3a77b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -38,6 +38,7 @@
- Fix unexpected 404 on deleting library that is used by deleted files
- Fix inconsistent message on deleting library when a library is linked from deleted files
- Fix change multiple colors with SVG [Taiga #3889](https://tree.taiga.io/project/penpot/issue/3889)
- Fix ungroup does not work for typographies [Taiga #4195](https://tree.taiga.io/project/penpot/issue/4195)
### :arrow_up: Deps updates
### :heart: Community contributions by (Thank you!)

View file

@ -1736,10 +1736,10 @@
(apply st/emit!
(->> typographies
(filter #(str/starts-with? (:path %) path))
(map #(dwl/update-typography
(assoc % :name
(ungroup % path))
file-id))))
(map #(dwl/rename-typography
file-id
(:id %)
(ungroup % path)))))
(st/emit! (dwu/commit-undo-transaction))))
on-context-menu