From d8dfead1488c7a4927eafae3929c9df429db3cbf Mon Sep 17 00:00:00 2001 From: Aleksejs Mjaliks Date: Thu, 28 Apr 2011 14:17:34 +0300 Subject: [PATCH] OACalloutView tweaks --- Source/Classes/Callout View/OACalloutView.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/Classes/Callout View/OACalloutView.m b/Source/Classes/Callout View/OACalloutView.m index 32512f1..34b04b0 100644 --- a/Source/Classes/Callout View/OACalloutView.m +++ b/Source/Classes/Callout View/OACalloutView.m @@ -84,7 +84,6 @@ - (id)initWithLeftImage:(UIImage *)leftImage centerImage:(UIImage *)centerImage self.calloutCenterImage = centerImage; self.calloutRightImage = [rightImage stretchableImageWithLeftCapWidth:1 topCapHeight:0]; self.maxWidth = 320.f; - self.userInteractionEnabled = NO; [self prepareView]; } return self; @@ -99,28 +98,23 @@ - (void)prepareView { self.opaque = NO; self.calloutLeft = [[[UIImageView alloc] init] autorelease]; - self.calloutLeft.userInteractionEnabled = NO; self.calloutLeft.image = self.calloutLeftImage; [self addSubview:self.calloutLeft]; self.calloutCenter = [[[UIImageView alloc] init] autorelease]; - self.calloutCenter.userInteractionEnabled = NO; self.calloutCenter.image = self.calloutCenterImage; [self addSubview:self.calloutCenter]; self.calloutRight = [[[UIImageView alloc] init] autorelease]; - self.calloutRight.userInteractionEnabled = NO; self.calloutRight.image = self.calloutRightImage; [self addSubview:self.calloutRight]; self.calloutTitleLabel = [[[UILabel alloc] init] autorelease]; - self.calloutTitleLabel.userInteractionEnabled = NO; self.calloutTitleLabel.font = [UIFont boldSystemFontOfSize:TITLE_FONT_SIZE]; self.calloutTitleLabel.textColor = [UIColor whiteColor]; self.calloutTitleLabel.backgroundColor = [UIColor clearColor]; self.calloutSubtitleLabel = [[[UILabel alloc] init] autorelease]; - self.calloutSubtitleLabel.userInteractionEnabled = NO; self.calloutSubtitleLabel.font = [UIFont systemFontOfSize:SUBTITLE_FONT_SIZE]; self.calloutSubtitleLabel.textColor = [UIColor whiteColor]; self.calloutSubtitleLabel.backgroundColor = [UIColor clearColor];