🐛 Fix typografy preloading.

This commit is contained in:
Andrey Antukh 2020-11-30 14:43:36 +01:00 committed by Hirunatan
parent e73a8a2f7e
commit 39fb611160
3 changed files with 4 additions and 4 deletions

View file

@ -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"))