From 944ff96a265b1ba60e70735606cafc1eed65e108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Mon, 3 Oct 2022 10:50:38 +0200 Subject: [PATCH] Add comment about identical an identical function in another module --- src/util.js | 1 + 1 file changed, 1 insertion(+) 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);