Support more eased transitions, cleanup code

(re: #3967, #5169, #5407)
This commit is contained in:
Bryan Housel
2019-01-16 13:39:10 -05:00
parent c3819dac71
commit 3fe6c0dbe7
11 changed files with 106 additions and 96 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export function modeSelectError(context, selectedErrorID) {
if (!keepRight) return;
var error = keepRight.getError(selectedErrorID);
if (error) {
context.map().centerZoom(error.loc, 20);
context.map().centerZoomEase(error.loc, 20);
}
};