Compare commits

...

2 Commits

Author SHA1 Message Date
Manuel Vögele 3afb1f30b7 Release v1.12.7 2022-04-01 18:06:46 +02:00
Manuel Vögele 654f8e3111 Fix a typo that caused measurement template snapping to be broken (fixes #185) 2022-04-01 18:04:25 +02:00
5 changed files with 10 additions and 5 deletions
+5
View File
@@ -1,3 +1,8 @@
## 1.12.7
### Bugfixes
- Fixed a bug that caused measurement templates to only snap to the corners of the grid (this was a regression introduced in 1.12.5)
## 1.12.6
### Bugfixes
- Measured templates no longer snap to a virtual grid on gridless scenes (this was a regression introduced in 1.12.5)
+1 -1
View File
@@ -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) {
+2 -2
View File
@@ -2,7 +2,7 @@
"name": "drag-ruler",
"title": "Drag Ruler",
"description": "When dragging a token displays a ruler showing how far you've moved that token.",
"version": "1.12.6",
"version": "1.12.7",
"minimumCoreVersion" : "9.245",
"compatibleCoreVersion" : "9",
"authors": [
@@ -65,7 +65,7 @@
],
"socket": true,
"url": "https://github.com/manuelVo/foundryvtt-drag-ruler",
"download": "https://github.com/manuelVo/foundryvtt-drag-ruler/releases/download/v1.12.6/drag-ruler-1.12.6.zip",
"download": "https://github.com/manuelVo/foundryvtt-drag-ruler/releases/download/v1.12.7/drag-ruler-1.12.7.zip",
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-drag-ruler/master/module.json",
"readme": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/README.md",
"changelog": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/CHANGELOG.md",
+1 -1
View File
@@ -26,7 +26,7 @@ dependencies = [
[[package]]
name = "gridless-pathfinding"
version = "1.12.6"
version = "1.12.7"
dependencies = [
"console_error_panic_hook",
"js-sys",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "gridless-pathfinding"
version = "1.12.6"
version = "1.12.7"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html