Just a one line change to play better with other modules. AFAIK ShowDragDistance only needs to work on the token layer. It was causing conflicts with my module Blood n Guts which uses the same workflow, so I just added a check on MouseInteractionManager.prototype._handleDragCancel = function(event){ to make sure we are on the token layer.
Just a one line change to play better with other modules. AFAIK ShowDragDistance only needs to work on the token layer. It was causing conflicts with my module Blood n Guts which uses the same workflow, so I just added a check on
MouseInteractionManager.prototype._handleDragCancel = function(event){
to make sure we are on the token layer.