Compare commits

...

2 Commits

Author SHA1 Message Date
Manuel Vögele 1f770f7597 Release v1.10.3 2022-01-27 14:00:29 +01:00
Manuel Vögele fa62e1d9c4 Resetting the token drag vision moved from token drop to token cancel in foundry 9.245 2022-01-27 12:47:39 +01:00
3 changed files with 8 additions and 6 deletions
+5
View File
@@ -1,3 +1,8 @@
## 1.10.3
### Compatibility
- This release contains changes required to be compatible with Foundry 9.245
## 1.10.2
### Bugfixes
- Fixed a bug that could cause squares to be highlighted in the wrong color when using waypoints on a 5/10/5 gird
+3 -3
View File
@@ -2,8 +2,8 @@
"name": "drag-ruler",
"title": "Drag Ruler",
"description": "When dragging a token displays a ruler showing how far you've moved that token.",
"version": "1.10.2",
"minimumCoreVersion" : "9.238",
"version": "1.10.3",
"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/archive/v1.10.2.zip",
"download": "https://github.com/manuelVo/foundryvtt-drag-ruler/archive/v1.10.3.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",
-3
View File
@@ -133,9 +133,6 @@ function onEntityDragLeftDrop(event) {
if (selectedTokens.length === 0)
selectedTokens.push(ruler.draggedEntity);
ruler._state = Ruler.STATES.MOVING
if (ruler.draggedEntity instanceof Token && game.settings.get("core", "tokenDragPreview")) {
event.data.clones.forEach(c => c._original.updateSource({skipUpdateFog: true, defer: true}));
}
moveEntities.call(ruler, ruler.draggedEntity, selectedTokens);
return true
}