wsaunders1014 / ShowDragDistance

Shows distance you dragged the token, similar to pressing ctrl.
10 stars 13 forks source link

Module thows errors in the console #4

Closed mech-tools closed 4 years ago

mech-tools commented 4 years ago

Trying to drag the character token doesn't move the token and show this error in the console:

foundry.js:2213 TypeError: canvas.stage.children.last is not a function
    at showdragdistance.js:421
    at Function._call (foundry.js:2210)
    at Function.callAll (foundry.js:2170)
    at Token._onHoverIn (foundry.js:12209)
    at Token._onHoverIn (foundry.js:38282)
    at MouseInteractionManager.callback (foundry.js:30546)
    at MouseInteractionManager._handleMouseOver (foundry.js:30658)
    at Token.a.emit (index.js:181)
    at r.dispatchEvent (InteractionManager.js:1028)
    at r.processInteractive (InteractionManager.js:1123)`
mech-tools commented 4 years ago

Further investigation shows that I have 1.0.5 and I can't seem to install 1.0.6 (visible on discord channel)

wsaunders1014 commented 4 years ago

hi, sorry seemed to have missed this. Currently on 1.0.9. Were you able to update?

mech-tools commented 4 years ago

Yep, that's good!