Skip to content

Commit

Permalink
Expose the original event data in the action wheel event.
Browse files Browse the repository at this point in the history
This was intended, but since the `event` key was used, and that is
populated with the event name, it wasn't actually exposed.
  • Loading branch information
manthey committed Sep 15, 2019
1 parent 5113554 commit 570be29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
### Improvements
- Points with small radii or thin strokes are rendered better (#1021)

### Bug Fixes
- Original event data was not included with actionwheel events (#1030)

## Version 0.19.6

### Features
Expand Down
2 changes: 1 addition & 1 deletion src/mapInteractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,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
Expand Down

0 comments on commit 570be29

Please sign in to comment.