mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 13:26:11 +02:00
🐛 Fix ungroup does not work for typographies
This commit is contained in:
parent
e1b62805e5
commit
d060ddaeae
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue