Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23c1a903a0 | |||
| 1b3f563c4e | |||
| c4595f408f |
@@ -1,3 +1,11 @@
|
|||||||
|
## 1.10.1
|
||||||
|
### Bugfixes
|
||||||
|
- Fixed a bug that caused keybindings to break if no scene is active
|
||||||
|
|
||||||
|
### Translation
|
||||||
|
- Updated Spanish translation (thanks to Viriato139ac#342)
|
||||||
|
|
||||||
|
|
||||||
## 1.10.0
|
## 1.10.0
|
||||||
**BREAKING** Drag Ruler 1.10.0 and onward cannot update directly from Drag Ruler versions older than 1.3.0. If you've been using Drag Ruler 1.2.2 or earlier in your world make sure to update to any Version between (inclusive) Drag Ruler 1.3.0 and 1.9.1, launch your world and log in as GM at least once. After doing so you can safely update to v1.10.0 or newer versions. Updating directly from 1.2.2 or older to 1.10.0 or newer will cause Drag Ruler to forget your Speed Prover Settings.
|
**BREAKING** Drag Ruler 1.10.0 and onward cannot update directly from Drag Ruler versions older than 1.3.0. If you've been using Drag Ruler 1.2.2 or earlier in your world make sure to update to any Version between (inclusive) Drag Ruler 1.3.0 and 1.9.1, launch your world and log in as GM at least once. After doing so you can safely update to v1.10.0 or newer versions. Updating directly from 1.2.2 or older to 1.10.0 or newer will cause Drag Ruler to forget your Speed Prover Settings.
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,19 @@
|
|||||||
"dash": "correr"
|
"dash": "correr"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"keybindings": {
|
||||||
|
"cancelDrag": "Cancelar arrastre",
|
||||||
|
"createWaypoint": "Crear punto de ruta",
|
||||||
|
"deleteWaypoint": "Borrar punto de ruta",
|
||||||
|
"disableSnap": {
|
||||||
|
"name": "Deshabilitar ajuste",
|
||||||
|
"hint": "El ajuste a la rejilla se deshabilitará temporalmente mientras se presione esta tecla"
|
||||||
|
},
|
||||||
|
"moveWithoutAnimation": {
|
||||||
|
"name": "Deshabilitar animación de icono",
|
||||||
|
"hint": "Si al soltar un icono se presiona esta tecla, se deshabilitará la animación del icono al moverse al destino"
|
||||||
|
}
|
||||||
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"alwaysShowSpeedForPCs": {
|
"alwaysShowSpeedForPCs": {
|
||||||
"name": "Mostrar velocidad de los PJs a todo el mundo",
|
"name": "Mostrar velocidad de los PJs a todo el mundo",
|
||||||
@@ -46,6 +59,15 @@
|
|||||||
"name": "Habilitar historial de movimiento durante el combate",
|
"name": "Habilitar historial de movimiento durante el combate",
|
||||||
"hint": "Si se habilita, Drag Ruler recordará la ruta que ha seguido un icono en su turno y la mostrará al seleccionarlo de nuevo"
|
"hint": "Si se habilita, Drag Ruler recordará la ruta que ha seguido un icono en su turno y la mostrará al seleccionarlo de nuevo"
|
||||||
},
|
},
|
||||||
|
"rightClickAction": {
|
||||||
|
"name": "Acción del botón derecho",
|
||||||
|
"hint": "Qué acción se llevará a cabo cuando se haga clic derecho mientras se arrastra un icono",
|
||||||
|
"choices": {
|
||||||
|
"create": "Crear punto de ruta",
|
||||||
|
"delete": "Borrar punto de ruta",
|
||||||
|
"cancel": "Cancelar arrastre"
|
||||||
|
}
|
||||||
|
},
|
||||||
"showGMRulerToPlayers": {
|
"showGMRulerToPlayers": {
|
||||||
"name": "Mostrar regla del GM a los jugadores",
|
"name": "Mostrar regla del GM a los jugadores",
|
||||||
"hint": "Si se deshabilita, no se mostrará la regla de medición de los GMs al resto de usuarios"
|
"hint": "Si se deshabilita, no se mostrará la regla de medición de los GMs al resto de usuarios"
|
||||||
|
|||||||
+2
-2
@@ -2,7 +2,7 @@
|
|||||||
"name": "drag-ruler",
|
"name": "drag-ruler",
|
||||||
"title": "Drag Ruler",
|
"title": "Drag Ruler",
|
||||||
"description": "When dragging a token displays a ruler showing how far you've moved that token.",
|
"description": "When dragging a token displays a ruler showing how far you've moved that token.",
|
||||||
"version": "1.10.0",
|
"version": "1.10.1",
|
||||||
"minimumCoreVersion" : "9.238",
|
"minimumCoreVersion" : "9.238",
|
||||||
"compatibleCoreVersion" : "9",
|
"compatibleCoreVersion" : "9",
|
||||||
"authors": [
|
"authors": [
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
],
|
],
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"url": "https://github.com/manuelVo/foundryvtt-drag-ruler",
|
"url": "https://github.com/manuelVo/foundryvtt-drag-ruler",
|
||||||
"download": "https://github.com/manuelVo/foundryvtt-drag-ruler/archive/v1.10.0.zip",
|
"download": "https://github.com/manuelVo/foundryvtt-drag-ruler/archive/v1.10.1.zip",
|
||||||
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-drag-ruler/master/module.json",
|
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-drag-ruler/master/module.json",
|
||||||
"readme": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/README.md",
|
"readme": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/README.md",
|
||||||
"changelog": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/CHANGELOG.md",
|
"changelog": "https://github.com/manuelVo/foundryvtt-drag-ruler/blob/master/CHANGELOG.md",
|
||||||
|
|||||||
+3
-3
@@ -54,7 +54,7 @@ export function registerKeybindings() {
|
|||||||
|
|
||||||
function handleDeleteWaypoint() {
|
function handleDeleteWaypoint() {
|
||||||
const ruler = canvas.controls.ruler;
|
const ruler = canvas.controls.ruler;
|
||||||
if (!ruler.draggedEntity)
|
if (!ruler?.draggedEntity)
|
||||||
return false;
|
return false;
|
||||||
ruler.dragRulerDeleteWaypoint();
|
ruler.dragRulerDeleteWaypoint();
|
||||||
return true;
|
return true;
|
||||||
@@ -81,7 +81,7 @@ function handleCreateWaypoint() {
|
|||||||
|
|
||||||
function cancelDrag() {
|
function cancelDrag() {
|
||||||
const ruler = canvas.controls.ruler;
|
const ruler = canvas.controls.ruler;
|
||||||
if (!ruler.draggedEntity)
|
if (!ruler?.draggedEntity)
|
||||||
return false;
|
return false;
|
||||||
ruler.dragRulerAbortDrag();
|
ruler.dragRulerAbortDrag();
|
||||||
return true;
|
return true;
|
||||||
@@ -91,7 +91,7 @@ function handleDisableSnap(event) {
|
|||||||
disableSnap = !event.up;
|
disableSnap = !event.up;
|
||||||
|
|
||||||
const ruler = canvas.controls.ruler;
|
const ruler = canvas.controls.ruler;
|
||||||
if (!ruler.isDragRuler)
|
if (!ruler?.isDragRuler)
|
||||||
return false;
|
return false;
|
||||||
if (ruler._state !== Ruler.STATES.MEASURING)
|
if (ruler._state !== Ruler.STATES.MEASURING)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user