mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 07:21:43 +02:00
🐛 Fix typografy preloading.
This commit is contained in:
parent
e73a8a2f7e
commit
39fb611160
3 changed files with 4 additions and 4 deletions
|
@ -103,6 +103,7 @@
|
|||
|
||||
(when (and (string? font-id)
|
||||
(pos? (alength font-id)))
|
||||
(fonts/ensure-loaded! font-id)
|
||||
(let [font (get fontsdb font-id)]
|
||||
(let [font-family (or (:family font)
|
||||
(obj/get data "fontFamily"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue