tweaks to showing priority selector

This commit is contained in:
Mitchell Livingston
2008-01-12 03:53:41 +00:00
parent a0578f408b
commit 0b3739dace
2 changed files with 7 additions and 5 deletions

View File

@@ -117,11 +117,14 @@
[self removeTrackingArea: area];
}
NSRange visibleRows = [self rowsInRect: [self visibleRect]];
if (visibleRows.length == 0){NSLog(@"asdgshs");
return;}
int col = [self columnWithIdentifier: @"Priority"];
NSTrackingAreaOptions options = NSTrackingEnabledDuringMouseDrag | NSTrackingMouseEnteredAndExited | NSTrackingActiveAlways;
NSPoint mouseLocation = [self convertPoint: [[self window] convertScreenToBase: [NSEvent mouseLocation]] fromView: nil];
NSRange visibleRows = [self rowsInRect: [self visibleRect]];
int row;
for (row = visibleRows.location; row < NSMaxRange(visibleRows); row++)
{