diff --git a/Coach Marks/DDBubble.m b/Coach Marks/DDBubble.m index 2294926..adfe343 100755 --- a/Coach Marks/DDBubble.m +++ b/Coach Marks/DDBubble.m @@ -55,6 +55,9 @@ -(id)initWithFrame:(CGRect)frame title:(NSString*)title description:(NSString*)d [self setFrame:[self calculateFrameWithFont:font]]; [self fixFrameIfOutOfBounds]; + // Make it pass touch events through to the DDCoachMarksView + [self setUserInteractionEnabled:NO]; + // calculate and position text CGSize offsets = [self offsets]; float actualXPosition = offsets.width+PADDING*1.5; @@ -71,9 +74,9 @@ -(id)initWithFrame:(CGRect)frame title:(NSString*)title description:(NSString*)d [titleLabel setBackgroundColor:[UIColor clearColor]]; [titleLabel setLineBreakMode:NSLineBreakByWordWrapping]; [titleLabel setNumberOfLines:0]; + [titleLabel setUserInteractionEnabled:NO]; [self addSubview:titleLabel]; - [self setNeedsDisplay]; return self; }