From 47715e95f60729f39497f57bb7cef68619d44300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Mon, 12 Jun 2023 19:50:55 +0200 Subject: [PATCH] Replace newly private functions with public alternatives --- src/ruler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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