diff --git a/src/util.js b/src/util.js index 500d9b8..a2d53f4 100644 --- a/src/util.js +++ b/src/util.js @@ -52,6 +52,7 @@ export function getSnapPointForTokenDataObj(pos, tokenData) { return getSnapPointForTokenData(pos.x, pos.y, tokenData); } +// A copy of this function lives in the librouting module function getSnapPointForTokenData(x, y, tokenData) { if (canvas.grid.type === CONST.GRID_TYPES.GRIDLESS) { return new PIXI.Point(x, y);