Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculateTokenOffset function missing #74

Closed
wztn opened this issue May 18, 2021 · 1 comment
Closed

calculateTokenOffset function missing #74

wztn opened this issue May 18, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@wztn
Copy link

wztn commented May 18, 2021

Hi.
My players can't move their tokens and the console shows following error:

foundry_imports.js:24 Uncaught (in promise) ReferenceError: calculateTokenOffset is not defined
at foundry_imports.js:24
at Array.some ()
at DragRulerRuler.moveEntities (foundry_imports.js:23)
at Token.onEntityDragLeftDrop (main.js:165)
at Token.entityType._onDragLeftDrop (main.js:73)
at MouseInteractionManager.callback (foundry.js:36392)
at MouseInteractionManager._handleDragDrop (foundry.js:36767)
at MouseInteractionManager._handleMouseUp (foundry.js:36737)
at Token.a.emit (index.js:181)
at r.dispatchEvent (InteractionManager.ts:1106)

Looks like you renamed the function calculateTokenOffset to calculateEntityOffset but forgot to change the function call in line 24.

@manuelVo manuelVo added the bug Something isn't working label May 18, 2021
@manuelVo
Copy link
Owner

Good catch, thanks. I'm sorry about this and I hope this didn't mess your session up too bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants