Fix token grid snapping y axis

This commit is contained in:
Mitchell McCaffrey 2020-10-09 15:39:49 +11:00
parent 076213fa25
commit bded0716fb

View File

@ -97,7 +97,7 @@ function MapToken({
map.grid.size.x,
y:
(mapHeight *
(map.grid.inset.bottomRight.x - map.grid.inset.topLeft.x)) /
(map.grid.inset.bottomRight.y - map.grid.inset.topLeft.y)) /
map.grid.size.y,
};
// Transform into offset space, round, then transform back