fix label with internal button clickeable rect

This commit is contained in:
Chris Yang 2018-07-31 15:07:08 -04:00
parent cc4fd0a1f9
commit c1318adcc5

View File

@ -50,7 +50,8 @@
[textStorage addLayoutManager:layoutManager];
NSTextContainer *textContainer = [[NSTextContainer alloc] initWithSize:self.bounds.size];
textContainer.lineFragmentPadding = 0;
// commenting out for after ios 10. keep this commented code for future references and monitoring
//textContainer.lineFragmentPadding = 0;
textContainer.lineBreakMode = self.lineBreakMode;