Fix a typo that caused measurement template snapping to be broken (fixes #185)
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ export function getSnapPointForMeasuredTemplate(x, y) {
|
||||
if (canvas.grid.type === CONST.GRID_TYPES.GRIDLESS) {
|
||||
return new PIXI.Point(x, y);
|
||||
}
|
||||
return canvas.grid.grid.getSnappedPosition(x, y, canvas.templates.gridPosition);
|
||||
return canvas.grid.grid.getSnappedPosition(x, y, canvas.templates.gridPrecision);
|
||||
}
|
||||
|
||||
export function getSnapPointForEntity(x, y, entity) {
|
||||
|
||||
Reference in New Issue
Block a user