Grid lines disappear under zoom

2x2 Grid lines disappear if the player zoom level is 100% or more.

3x3, 4x4, and 16x16 Grid lines don’t disappear completely, but rightmost and bottom lines disappear as the player dimensions change.

Just adding an extra loop in the for statement here and other places:

by making the following change has fixed the problem.

Line Before After
41 for(var x = 0; x * gridSizeX < parent.width; x++) for(var x = 0; x * gridSizeX < parent.width + gridSizeX; x++)
47 for(var y = 0; y * gridSizeY < parent.height; y++) for(var y = 0; y * gridSizeY < parent.height + gridSizeY; y++)
72 for(var x = 0; x * gridSizeX < parent.width; x++) for(var x = 0; x * gridSizeX < parent.width + gridSizeX; x++)
78 for(var y = 0; y * gridSizeY < parent.height; y++) for(var y = 0; y * gridSizeY < parent.height + gridSizeY; y++)
2 Likes

Works fine on Windows 10
:+1:

Thanks for your report. This is fixed for the 20.07 release.