mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
play around with the drag overlay
This commit is contained in:
parent
92938acdf0
commit
83e2b3d547
1 changed files with 1 additions and 3 deletions
|
@ -51,6 +51,7 @@
|
|||
[NSDictionary dictionaryWithObjectsAndKeys: self, NSViewAnimationTargetKey,
|
||||
NSViewAnimationFadeInEffect, NSViewAnimationEffectKey, nil]]];
|
||||
[fFadeInAnimation setDuration: 0.15];
|
||||
[fFadeInAnimation setAnimationBlockingMode: NSAnimationNonblockingThreaded];
|
||||
|
||||
fFadeOutAnimation = [[NSViewAnimation alloc] initWithViewAnimations: [NSArray arrayWithObject:
|
||||
[NSDictionary dictionaryWithObjectsAndKeys: self, NSViewAnimationTargetKey,
|
||||
|
@ -165,9 +166,6 @@
|
|||
|
||||
- (void) fadeOut
|
||||
{
|
||||
if ([self alphaValue] <= 0.0)
|
||||
return;
|
||||
|
||||
//stop other animation and set to same progress
|
||||
if ([fFadeInAnimation isAnimating])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue