From 650af7c2584d10c796f6b878d1a0d7b743f3ec9f Mon Sep 17 00:00:00 2001 From: David Manthey Date: Fri, 13 Sep 2019 22:14:10 -0400 Subject: [PATCH] Expose the original event data in the action wheel event. This was intended, but since the `event` key was used, and that is populated with the event name, it wasn't actually exposed. --- CHANGELOG.md | 1 + src/mapInteractor.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6c87a37b3..a42b2dd392 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Bug Fixes - Mouse wheel events didn't recompute gcs coordinates, so a wheel event without a previous move event coult list the wrong location (#1027) +- Original event data was not included with actionwheel events (#1030) ## Version 0.19.6 diff --git a/src/mapInteractor.js b/src/mapInteractor.js index 42d81eb580..d86cec5c0c 100644 --- a/src/mapInteractor.js +++ b/src/mapInteractor.js @@ -1767,7 +1767,7 @@ var mapInteractor = function (args) { break; } m_this.map().geoTrigger(geo_event.actionwheel, { - state: m_this.state(), mouse: m_this.mouse(), event: evt}); + state: m_this.state(), mouse: m_this.mouse(), eventData: evt}); } // reset the queue