Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Pass animated property when deselecting annotation views (#5677)
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny authored Jul 14, 2016
1 parent ae06be2 commit d303980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/src/MGLMapView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,7 @@ - (void)deselectAnnotation:(id <MGLAnnotation>)annotation animated:(BOOL)animate
{
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
annotationView = annotationContext.annotationView;
annotationView.selected = NO;
[annotationView setSelected:NO animated:animated];
}

// clean up
Expand Down

0 comments on commit d303980

Please sign in to comment.