Fix calling completion callback for setContentInset in specific situation (#3605)
This commit is contained in:
@@ -6339,7 +6339,8 @@ static void *windowScreenContext = &windowScreenContext;
|
||||
CLLocation *location = self.userLocation.location;
|
||||
if ( ! _showsUserLocation || ! location
|
||||
|| ! CLLocationCoordinate2DIsValid(location.coordinate)
|
||||
|| self.userTrackingMode == MLNUserTrackingModeNone)
|
||||
|| self.userTrackingMode == MLNUserTrackingModeNone
|
||||
|| self.userTrackingState == MLNUserTrackingStateBegan)
|
||||
{
|
||||
if (completion)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user