Skip to content

Commit

Permalink
perf: Expose original event as part of click events
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Sep 3, 2024
1 parent 55bb73b commit f791b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapInteractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f791b43

Please sign in to comment.