mclemente / simplefog

A module for FoundryVTT that lets you draw fog of war manually
MIT License
5 stars 0 forks source link

[BUG] Grid tool is not working properly on hex grid in v1.3.3 #12

Open r-valyar opened 1 month ago

r-valyar commented 1 month ago

Module Version: v1.3.3.

Describe the bug The Grid tool is no longer snapping to the actual grid, instead it is completely misaligned. The Grid tool was working fine before I upgrade Foundry. It seems the tool is not taking into account the actual grid type and size configured for the scene. The other tools work fine.

There are no errors in the console.

To Reproduce Steps to reproduce the behavior:

  1. Go to enable hex grid
  2. Click on Grid Tool
  3. Attempt to reveal a hex
  4. Snapping is incorrect (fog reveals fine though)

Expected behavior To properly snap to the actual grid used in the scene.

Screenshots I have colored the grid red and put measurement controls that properly snap to grid (default foundry). In addition, the grid settings for the map. image image

Browser:

Foundry Version:

Additional context No module that interacts with the grid are loaded, I also tried on clean world with just this module enabled.

joshschmille commented 1 month ago

I have run into exactly this same issue.

mclemente commented 1 month ago

I can't reproduce this issue. I've created a new world on the Forbidden Lands system and it works as expected.

Could you try creating a new world and test the module there?

r-valyar commented 1 month ago

Yes, when I create new world, import the core module the reveal is misaligned:

image

Would you like to send you the world for review?