This issue does not affect the version of drag ruler that has been deployed (1.12.8), only what is on the develop branch.
When controlling or moving a token, the function startBackgroundCaching throws an error because the cache layer doesn't contain an entry for the token's position. This doesn't seem to cause any problems in the outwardly visible behavior, but it does show the error in the console and presumably the benefits of the background caching aren't being used because of this error.
It seems that this stems from commit 2979e86201f411003d6b09fa6fa489fab3727bf1 by @JDCalvert which is present on develop, but not master.
This issue does not affect the version of drag ruler that has been deployed (1.12.8), only what is on the develop branch.
When controlling or moving a token, the function
startBackgroundCaching
throws an error because the cache layer doesn't contain an entry for the token's position. This doesn't seem to cause any problems in the outwardly visible behavior, but it does show the error in the console and presumably the benefits of the background caching aren't being used because of this error.It seems that this stems from commit 2979e86201f411003d6b09fa6fa489fab3727bf1 by @JDCalvert which is present on develop, but not master.