fix bug where dragging a torrent that is already opened off of the window will make the overlay appear and fade off

This commit is contained in:
Mitchell Livingston 2007-11-17 14:43:05 +00:00
parent 7da33be84b
commit cd7de9ae16
2 changed files with 3 additions and 2 deletions

View File

@ -1899,7 +1899,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[self applyFilter: nil];
}
#warning improve with matrix
- (void) switchFilter: (id) sender
{
NSString * filterType = [fDefaults stringForKey: @"Filter"];
@ -2309,7 +2308,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
return NSDragOperationNone;
}
#warning when dragging a torrent file that already exists on and off, it gives a weird result
- (void) draggingExited: (id <NSDraggingInfo>) info
{
if (fOverlayWindow)

View File

@ -159,6 +159,9 @@
- (void) fadeOut
{
if ([self alphaValue] <= 0.0)
return;
//stop other animation and set to same progress
if ([fFadeInAnimation isAnimating])
{