Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
392 stars 71 forks source link

[BUG] Grid lines are not fully drawn when window is taller than it is wide #1254

Closed rexy712 closed 1 year ago

rexy712 commented 1 year ago

Describe the bug When the browser window is taller than it is wide, the bottom rows of the grid are not drawn. This is more noticable the taller the window becomes relative to its width. This only applies to the square grid type. Both types of hexagons are drawn as expected.

To Reproduce Steps to reproduce the behavior:

  1. Open a map.
  2. Scale the window to be tall and/or "skinny".

Expected behavior Grid should render on tall windows the same as on wide windows.

Screenshots

Obviously using an exaggerated example in this video, but it's still noticable at the start with a reasonable aspect ratio.

https://user-images.githubusercontent.com/2442544/227794812-01f2b42f-4f36-4bcc-884f-177131be6961.mp4

Desktop:

Additional context This probably mostly affects tiling window manager users or those with displays oriented vertically.