Open JacobChrist opened 1 year ago
Describe the bug Setting the font to a fractional height causes the Lua script to crash
To Reproduce Steps to reproduce the behavior: Make this call in a Lua script:
ez.SetFtFont(14, 21.5)
Expected behavior Don't crash. Scale properly or truncate scale.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Test on the 5035
Describe the bug Setting the font to a fractional height causes the Lua script to crash
To Reproduce Steps to reproduce the behavior: Make this call in a Lua script:
Expected behavior Don't crash. Scale properly or truncate scale.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Test on the 5035