mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
tweaks to showing priority selector
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user