mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 08:04:27 +08:00

Followup 83cc97994fa73c19832fa1dc0a2ec790e6f29064 Fixes issues after a refactor in the linked commit. We now pass `font` as an object to the preview JS functions, so to get the proper font for the canvas we need to do `font.label`.