Skip to content

Commit

Permalink
Merge pull request jverkoey#133 from lipeiqiang/patch-1
Browse files Browse the repository at this point in the history
fix a bug when link has more GlyphRuns > 1,highlight rect will become th...
  • Loading branch information
jverkoey committed Dec 22, 2011
2 parents 2d869da + 9019c1f commit 1ae44da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributedlabel/src/NIAttributedLabel.m
Expand Up @@ -629,7 +629,7 @@ - (void)drawTextInRect:(CGRect)rect {
highlightRect = linkRect;

} else {
highlightRect = CGRectUnion(rect, linkRect);
highlightRect = CGRectUnion(highlightRect, linkRect);
}
}

Expand Down

0 comments on commit 1ae44da

Please sign in to comment.