manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
40 stars 52 forks source link

Requested adjustment to access the `trackRays` function #205

Open caewok opened 2 years ago

caewok commented 2 years ago

One more adjustment that would make module interactions easier:

It would also be helpful if the DragRulerRuler class included trackRays from movement_tracking.js. Not because I want to modify trackRays but because I want to be able to tell Drag Ruler when it should update movement history of some moved tokens. Not sure if this should be a method in DragRulerRuler or something accessible through the api using window.dragRuler.

Let me know if you would like me to open a PR to accomplish this.

manuelVo commented 2 years ago

I'll get back to you about this one once I've implemented #204.