Model Redesign: Added Reference Frames
Added Inverse Functions UI Redesign Cleaned Code
This commit is contained in:
@@ -142,12 +142,6 @@
|
||||
|
||||
- (void)draw
|
||||
{
|
||||
#ifdef MPDEBUG_DRAW_BASELINE
|
||||
[[NSColor redColor] set];
|
||||
NSRectFill(NSMakeRect(0, -1, self.bounds.size.width, 1));
|
||||
[[NSColor textColor] set];
|
||||
#endif
|
||||
|
||||
// Get the current context
|
||||
CGContextRef context = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
|
||||
|
||||
@@ -161,12 +155,6 @@
|
||||
CGContextSetTextPosition(context, localLineBounds.origin.x, 0);
|
||||
CTLineDraw(line, context);
|
||||
|
||||
#ifdef MPDEBUG_DRAW_FUNCTION_BOUNDS
|
||||
[[NSColor blueColor] set];
|
||||
[[NSBezierPath bezierPathWithRect:localLineBounds] stroke];
|
||||
[[NSColor textColor] set];
|
||||
#endif
|
||||
|
||||
// Draw the start function
|
||||
MPLayout *startExpressionLayout = [self childLayoutAtIndex:0];
|
||||
NSPoint startExpressionLocation = [self offsetOfChildLayoutAtIndex:0];
|
||||
|
||||
Reference in New Issue
Block a user