diff --git a/src/ruler.js b/src/ruler.js index 65bf8f6..edf2bb6 100644 --- a/src/ruler.js +++ b/src/ruler.js @@ -415,7 +415,7 @@ export function extendRuler() { this._endMeasurement(); // Deactivate the drag workflow in mouse - token.mouseInteractionManager._deactivateDragEvents(); + token.mouseInteractionManager.cancel(event); token.mouseInteractionManager.state = token.mouseInteractionManager.states.HOVER; // This will cancel the current drag operation