]> git.cworth.org Git - lmno.games/commit
Don't grow the grid if not needed, (shift tiles instead)
authorCarl Worth <cworth@cworth.org>
Fri, 6 Mar 2026 14:30:06 +0000 (09:30 -0500)
committerCarl Worth <cworth@cworth.org>
Fri, 6 Mar 2026 16:29:48 +0000 (11:29 -0500)
commit981c86e9f4c7dc2e1647a485d5eb08917f58f3c6
tree197eec63b795deb97b85b41bbc7bbeace4dc30a5
parenta8e48ffe7875ce11bdcca4cd1bfc935aacbf0db7
Don't grow the grid if not needed, (shift tiles instead)

At least, shifting of the tiles is what the user experiences. Within
the code, the concept is simpler: We don't have a grid size at all
anymore, but simply compute the grid bounds that we want whenever
things change. The bounds are made to just fit the tiles (plus one
extra row/column on each side) and never smaller than the original
size chosen to fill the screen.
letterrip/letterrip.jsx