Commit Graph

2 Commits

Author SHA1 Message Date
Kartik K. Agaram 54b647f7c1 Merge template-live-editor 2022-12-23 20:39:54 -08:00
Kartik K. Agaram 7f4aa51533 render text consistently at different zoom levels
This was hard to track down because lua's print implicitly hides tiny
fractions, making non-integers look like integers. So there's a gotcha
here: ensure that parameters to edit.initialize are integers. I'm
documenting it on the caller and also defensively converting to an int
inside the callee.
2022-12-23 16:34:36 -08:00