diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 16:42:43 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-10 17:17:30 +0200 |
| commit | 00c8d0086631a249f7d9dcee022e013bbc683616 (patch) | |
| tree | 25f495bb546a8ec2bdeba17b907db5f550138412 /opendc-web/opendc-web-ui/src/components/app | |
| parent | 6d5a2eebb609da67239ea37d12d6b2d3bbfef76e (diff) | |
ui: Do not prevent default on mouse scroll
This change removes the prevent default from the mouse scroll since
Chrome does not allow it anymore.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/app')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/app/map/MapStageComponent.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/app/map/MapStageComponent.js b/opendc-web/opendc-web-ui/src/components/app/map/MapStageComponent.js index 60bf3104..7ca10792 100644 --- a/opendc-web/opendc-web-ui/src/components/app/map/MapStageComponent.js +++ b/opendc-web/opendc-web-ui/src/components/app/map/MapStageComponent.js @@ -46,7 +46,6 @@ class MapStageComponent extends React.Component { } updateScale(e) { - e.preventDefault() this.props.zoomInOnPosition(e.deltaY < 0, this.state.mouseX, this.state.mouseY) } |
