🐛 Fix mistmatch in mapping custom font variants (wasm) (#10122)

This commit is contained in:
Belén Albeza 2026-06-11 09:36:29 +02:00 committed by GitHub
parent d1fb1d34a1
commit 8eedd951a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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