1
Graphics / Re: Question about initial state of chess game disappearing
« on: May 03, 2022, 09:21:48 pm »
The below commit is a good enough fix for me.
https://github.com/tarstevs/chess/commit/ef6ee49e5f6fd1101b782e6b2440b5d9889c71e7
It sets x_offset to zero. This causes the chess board to no longer be centered in the window (so that "centering feature" is lost). But, on the plus side, the board no longer disappears when the window width is less than the window height. All of the board-scaling is left unchanged.
https://github.com/tarstevs/chess/commit/ef6ee49e5f6fd1101b782e6b2440b5d9889c71e7
It sets x_offset to zero. This causes the chess board to no longer be centered in the window (so that "centering feature" is lost). But, on the plus side, the board no longer disappears when the window width is less than the window height. All of the board-scaling is left unchanged.