Archived
1

Corrected Selection Errors

This commit is contained in:
Kim Wittenburg
2014-09-09 09:23:57 +02:00
parent 91320385f0
commit f791213127
3 changed files with 17 additions and 3 deletions

View File

@@ -127,6 +127,15 @@
[self.parent invalidate];
}
- (MPLayout *)childLayoutAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.length == 0) {
return self;
}
MPLayout *child = [self childLayoutAtIndex:indexPath.firstIndex];
return [child childLayoutAtIndexPath:[indexPath indexPathByRemovingFirstIndex]];
}
#pragma mark Calculation and Drawing Methods
- (CTLineRef)createLineForString:(NSString *)aString
{