Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid blocks overflowing the window region when resizing #82

Open
reisaraujo-miguel opened this issue Oct 17, 2023 · 0 comments
Open

Grid blocks overflowing the window region when resizing #82

reisaraujo-miguel opened this issue Oct 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@reisaraujo-miguel
Copy link
Contributor

reisaraujo-miguel commented Oct 17, 2023

Describe the bug
When you launch the game and use up or down to resize the grid, you can set the grid to a size where the blocks on the edges can overflow to outside the window region.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the game...
  2. Press down one time

Expected behavior
Resizing the grid should not create blocks that overflow the window size. A solution could be always dividing the screen by some factor, for example, dividing the window in 2x2, 3x3, 4x4 etc. (for square windows, for other aspect ratios this should be adapted).

Screenshots
image

@reisaraujo-miguel reisaraujo-miguel added the bug Something isn't working label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants