From ba386a78117207b6cae18d71207daef5d4555b2d Mon Sep 17 00:00:00 2001 From: ninarg Date: Wed, 16 Feb 2022 12:27:52 +0100 Subject: [PATCH] Fix bug where map centers on random coordinates in location search (#374) --- .../Filters/Map/Radius/MapRadiusFilterViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Charcoal/Filters/Map/Radius/MapRadiusFilterViewController.swift b/Sources/Charcoal/Filters/Map/Radius/MapRadiusFilterViewController.swift index 9c969dac..ab66aed1 100644 --- a/Sources/Charcoal/Filters/Map/Radius/MapRadiusFilterViewController.swift +++ b/Sources/Charcoal/Filters/Map/Radius/MapRadiusFilterViewController.swift @@ -227,7 +227,7 @@ extension MapRadiusFilterViewController: SearchLocationViewControllerDelegate { locationName = location.name self.coordinate = coordinate - mapRadiusFilterView.centerOnCoordinate(coordinate, animated: true) + mapRadiusFilterView.centerOnCoordinate(coordinate, animated: false) } } }