From f8fb05208ecf8d2f74eaea48b492e9eab0631d20 Mon Sep 17 00:00:00 2001 From: Max Franz Date: Wed, 31 Jul 2024 10:56:28 -0400 Subject: [PATCH] Reset r.hoverData.which flag Ref: 3.30.1 breaks cytoscape.js-context-menus #3262 --- src/extensions/renderer/base/load-listeners.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extensions/renderer/base/load-listeners.js b/src/extensions/renderer/base/load-listeners.js index 173fa9e5f..fddbb658a 100644 --- a/src/extensions/renderer/base/load-listeners.js +++ b/src/extensions/renderer/base/load-listeners.js @@ -1046,6 +1046,7 @@ BRp.load = function(){ r.hoverData.dragDelta = []; r.hoverData.mdownPos = null; r.hoverData.mdownGPos = null; + r.hoverData.which = null; }, false );