manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
40 stars 52 forks source link

Tokens snap incorrectly on hexagonal grids #236

Closed BoltsJ closed 1 year ago

BoltsJ commented 1 year ago

On hexagonal grids, tokens with an even size are snapped incorrectly.

Steps to reproduce:

  1. Create a scene using a hexagonal grid
  2. Create a token with size 2×2
  3. Move the token
  4. The token snaps the center of the token to a cell center, causing it to be misaligned from the grid.

No console errors are reported.

image image

BoltsJ commented 1 year ago

I noticed you added the module conflict label, but this is with no other modules

manuelVo commented 1 year ago

I wasn't aware that Foundry started supporting larger than 1x1 tokens on hex grids, so I expected the Hex Size Support module to be enabled.

manuelVo commented 1 year ago

This has been fixed in a9c15d779