chiark / gitweb /
dice: Get size right in preview with a special entrypoint
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 00:36:30 +0000 (01:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 00:42:18 +0000 (01:42 +0100)
commita29049d94fc6cca9303d8a071cea3eae621ebc87
treeb8a0b36636cf1d5e5745d78a7597abcdf9d5550e
parentf9a6117e754adf3115524bb596c58c414212ec55
dice: Get size right in preview with a special entrypoint

This is the code from
  dice: Get size right in preview by setting bbox, breaking other things
but in a new entrypoint used only for preview.  The comment explains why.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otterlib.rs
src/dice.rs
src/gamestate.rs
support/imports.rs