scaleGrid icon indicating copy to clipboard operation
scaleGrid copied to clipboard

Found doesn't like non-whole numbers

Open u2mad opened this issue 4 years ago • 1 comments

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.

u2mad avatar Dec 19 '20 02:12 u2mad

This has been fixed in the new repository location. https://github.com/jbhaywood/scaleGrid/releases/tag/v1.1.0

jbhaywood avatar Jun 04 '22 21:06 jbhaywood