mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix mistmatch in mapping custom font variants (wasm) (#10122)
This commit is contained in:
parent
d1fb1d34a1
commit
8eedd951a8
@ -100,6 +100,7 @@
|
|||||||
matching-font (some (fn [[_ font]]
|
matching-font (some (fn [[_ font]]
|
||||||
(and (= (:font-id font) font-uuid)
|
(and (= (:font-id font) font-uuid)
|
||||||
(= (str (:font-weight font)) (str font-weight))
|
(= (str (:font-weight font)) (str font-weight))
|
||||||
|
(= (:font-style font) font-style)
|
||||||
font))
|
font))
|
||||||
(seq @fonts))]
|
(seq @fonts))]
|
||||||
(when matching-font
|
(when matching-font
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user