fixes off-by-one pixels with a small gutter

not sure why this fixes it - but it does. needs some testing.
This commit is contained in:
Llywelwyn 2023-09-03 06:56:05 +01:00
parent 1bea2c0026
commit ebcce3183b

View file

@ -28,6 +28,7 @@ fn main() -> rltk::BError {
.with_font("curses11x20.png", 11, 20)
.with_font("healthbar22x2.png", 1, 1)
.with_tile_dimensions(22, 20)
.with_gutter(2)
.with_simple_console(DISPLAYWIDTH, DISPLAYHEIGHT, "nagidal22x20_centred.png")
.with_sparse_console(DISPLAYWIDTH * 2, DISPLAYHEIGHT, "curses11x20.png")
.with_sparse_console(DISPLAYWIDTH * 22, DISPLAYHEIGHT * 20, "healthbar22x2.png")