If a measurement is being skipped because of the ruler's rate limiting, schedule the measurement for later to ensure the ruler sticks to the token

This commit is contained in:
Manuel Vögele
2021-05-20 12:00:37 +02:00
parent 732802c579
commit 3cbe41e2be
3 changed files with 26 additions and 4 deletions
-1
View File
@@ -154,7 +154,6 @@ function onEntityDragLeftDrop(event) {
const ruler = canvas.controls.ruler
if (!ruler.isDragRuler)
return false
onMouseMove.call(ruler, event);
// When we're dragging a measured template no token will ever be selected,
// resulting in only the dragged template to be moved as would be expected
const selectedTokens = canvas.tokens.controlled