scaleGrid icon indicating copy to clipboard operation
scaleGrid copied to clipboard

fix(gridScale): use whole numbers for `gridPix`

Open Iron-E opened this issue 3 years ago • 3 comments

Foundry doesn't like using decimals for the grid scale, so we have to round them before using them.

This fix was initially proposed by @u2mad.

Closes #20.

Iron-E avatar Jun 16 '21 15:06 Iron-E

@UberV have you had a chance to review?

Iron-E avatar Aug 11 '21 16:08 Iron-E

I've taken over this module and applied this fix to the newest release. https://github.com/jbhaywood/scaleGrid/releases/tag/v1.1.0

jbhaywood avatar Jun 04 '22 21:06 jbhaywood

Thank you for taking over on the project!

Iron-E avatar Jun 04 '22 21:06 Iron-E