Skip to content

Commit

Permalink
Perform eased zoom to avoid Firefox crash (and it looks nice too)
Browse files Browse the repository at this point in the history
(closes #4421)
  • Loading branch information
bhousel committed Nov 15, 2017
1 parent 38920b2 commit 2962f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui/notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function uiNotice(context) {
.append('button')
.attr('class', 'zoom-to notice fillD')
.on('click', function() {
context.map().zoom(context.minEditableZoom());
context.map().zoomEase(context.minEditableZoom());
})
.on('wheel', function() { // let wheel events pass through #4482
var e2 = new WheelEvent(d3_event.type, d3_event);
Expand Down

0 comments on commit 2962f80

Please sign in to comment.