From f791b4311f9a957b573896b4cf7411b9a9067247 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Tue, 18 Jun 2024 16:22:13 -0400 Subject: [PATCH] perf: Expose original event as part of click events --- src/mapInteractor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mapInteractor.js b/src/mapInteractor.js index 1e54f34ef2..ef353df158 100644 --- a/src/mapInteractor.js +++ b/src/mapInteractor.js @@ -1665,6 +1665,7 @@ var mapInteractor = function (args) { // add information about the button state to the event information var details = m_this.mouse(); details.buttonsDown = m_clickMaybe.buttons; + details.evt = evt; // reset click detector variable m_this._setClickMaybe(false);