🐛 Fix mistmatch in mapping custom font variants (wasm)

This commit is contained in:
Belén Albeza 2026-06-10 15:33:32 +02:00
parent ccd34a2705
commit c94871f86c

View File

@ -100,6 +100,7 @@
matching-font (some (fn [[_ font]]
(and (= (:font-id font) font-uuid)
(= (str (:font-weight font)) (str font-weight))
(= (:font-style font) font-style)
font))
(seq @fonts))]
(when matching-font