about summary refs log tree commit diff stats
path: root/source_text_tests.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-12-23 16:57:04 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-12-23 16:57:04 -0800
commite2e3aea2b1b9504bf849d1ab3ca9eb16544b651d (patch)
tree943a0bcb49c2f3fab753b3528e21c0e83403cf9e /source_text_tests.lua
parentdf0aec10d03cd0146add06a3ed51aed4e4273e45 (diff)
downloadlines.love-e2e3aea2b1b9504bf849d1ab3ca9eb16544b651d.tar.gz
require editor margins to be ints
Not directly relevant here, but forks of this project that permit
zooming can run into weird glitches if margins are not a whole number of
pixels.

I'd always assumed a type system that divided ints into floats was
strictly superior, but now I have experienced a situation where
requiring ints isn't just a compromise for the underlying CPU
implementation. Particularly since Lua's print() silently hides really
tiny fractions.
Diffstat (limited to 'source_text_tests.lua')
0 files changed, 0 insertions, 0 deletions