🐛 Fix mismatch between fonts for rendered and selected text when no fallback fonts apply

This commit is contained in:
Belén Albeza
2025-11-28 13:54:17 +01:00
committed by Alejandro Alonso
parent d9680ea159
commit 6ddce5bcba

View File

@@ -352,7 +352,7 @@
(obj/merge!
#js {"--editor-container-width" (dm/str width "px")
"--editor-container-height" (dm/str height "px")
"--fallback-families" (dm/str (str/join ", " fallback-families))})
"--fallback-families" (if (seq fallback-families) (dm/str (str/join ", " fallback-families)) "sourcesanspro")})
(not render-wasm?)
(obj/merge!