Model Redesign: Added Reference Frames
Added Inverse Functions UI Redesign Cleaned Code
This commit is contained in:
@@ -18,7 +18,10 @@
|
||||
- (NSRange)range
|
||||
{
|
||||
NSUInteger selfIndex = [self.parent indexOfElement:self];
|
||||
return NSMakeRange([self.parent locationOfElementAtIndex:selfIndex], 1);
|
||||
return NSMakeRange([self.parent convertIndex:selfIndex
|
||||
fromReferenceFrame:MPElementReferenceFrame
|
||||
toReferenceFrame:MPSymbolReferenceFrame],
|
||||
1);
|
||||
}
|
||||
|
||||
- (BOOL)exists
|
||||
|
||||
Reference in New Issue
Block a user