Further cleanup of code and logs in the tableview.

This commit is contained in:
Randall Luecke
2010-02-06 17:53:40 -05:00
parent f590c63e33
commit 47bd6e5ce3
+2 -5
View File
@@ -2355,16 +2355,13 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
var bounds = [view bounds];
var viewLocation = CPPointMake(aPoint.x - CGRectGetWidth(bounds)/2 + offset.x, aPoint.y - CGRectGetHeight(bounds)/2 + offset.y);
[self dragView:view at:viewLocation offset:CPPointMakeZero() event:[CPApp currentEvent] pasteboard:pboard source:self slideBack:YES];
_originalMouseDownPoint = nil;
_startTrackingPoint = nil;
return NO;
}
}
if (ABS(_startTrackingPoint.x - aPoint.x) < 5 && ABS(_startTrackingPoint.y - aPoint.y) < 5)
{
console.log("here");
else if (ABS(_startTrackingPoint.x - aPoint.x) < 5 && ABS(_startTrackingPoint.y - aPoint.y) < 5)
return YES;
}
}
_isSelectingSession = YES;