mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-02 13:11:41 +02:00
Perform eased zoom to avoid Firefox crash (and it looks nice too)
(closes #4421)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user