Skip to content

Commit

Permalink
refs Outdooractive#121: fix touch event for attribution button
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Nov 2, 2012
1 parent f0bdee9 commit babab63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapView/Map/RMMapView.m
Original file line number Diff line number Diff line change
Expand Up @@ -3275,7 +3275,7 @@ - (void)setViewControllerPresentingAttribution:(UIViewController *)viewControlle

_attributionButton.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleLeftMargin;

[_attributionButton addTarget:self action:@selector(showAttribution:) forControlEvents:UIControlEventTouchDown];
[_attributionButton addTarget:self action:@selector(showAttribution:) forControlEvents:UIControlEventTouchUpInside];

_attributionButton.frame = CGRectMake(self.bounds.size.width - 30,
self.bounds.size.height - 30,
Expand Down

0 comments on commit babab63

Please sign in to comment.