forked from GitHub-Mirrors/foundry-sw5e
Update Core to 1.4.2
Update Core to 1.4.2 and internal Version to 1.4.2.R1-A8
This commit is contained in:
parent
48b6ab8e18
commit
76e4d74508
10 changed files with 146 additions and 70 deletions
|
@ -18,7 +18,7 @@ export default class AbilityTemplate extends MeasuredTemplate {
|
|||
// Prepare template data
|
||||
const templateData = {
|
||||
t: templateShape,
|
||||
user: game.user.data._id,
|
||||
user: game.user.id,
|
||||
distance: target.value,
|
||||
direction: 0,
|
||||
x: 0,
|
||||
|
@ -96,7 +96,7 @@ export default class AbilityTemplate extends MeasuredTemplate {
|
|||
|
||||
// Cancel the workflow (right-click)
|
||||
handlers.rc = (event) => {
|
||||
this.layer.preview.removeChildren();
|
||||
this.layer._onDragLeftCancel(event);
|
||||
canvas.stage.off("mousemove", handlers.mm);
|
||||
canvas.stage.off("mousedown", handlers.lc);
|
||||
canvas.app.view.oncontextmenu = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue