Skip to content

Commit

Permalink
call default touch end event when onImageTap callback does not set, o…
Browse files Browse the repository at this point in the history
…therwise this view blocks default touch event chain.
  • Loading branch information
typester authored and markofjohnson committed Apr 14, 2011
1 parent 7e8652d commit 350745b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HJCacheClasses/HJManagedImageV.m
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ -(void) touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event {
if (onImageTap) {
[onImageTap invoke];
}
else {
[super touchesEnded:touches withEvent:event];
}
}




@end

0 comments on commit 350745b

Please sign in to comment.