0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Properly preserve the font-family name on upload custom font.

This commit is contained in:
Andrey Antukh 2021-06-16 16:32:21 +02:00
parent ae4b743ea4
commit e42e1e8751

View file

@ -172,7 +172,7 @@
(uuid/next))]
(update current-fonts id (fn [font]
(-> font
(assoc :name name)
(assoc :font-family name)
(assoc :font-id font-id))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;