The attached patch decouples the X and Y step sizes when drawing the grid. It also cleans up some of the code in the DrawGrid function by fixing some type issues and an unused variable.
The attached patch decouples the X and Y step sizes when drawing the grid. It also cleans up some of the code in the DrawGrid function by fixing some type issues and an unused variable.