scaleGrid
scaleGrid copied to clipboard
Found doesn't like non-whole numbers
Foundry doesn't seem to like decimals anymore, so unless you get lucky while trying to draw a square, foundry throws an error.
My fix was to put in:
gridPix = Math.round(gridPix); //round gridpix to a whole number
at line 993 & 1052, just before the if (gridPix >= 50) {
line.
This has been fixed in the new repository location. https://github.com/jbhaywood/scaleGrid/releases/tag/v1.1.0