1
0
Fork 0
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:
Mitchell Livingston 2007-12-27 23:31:54 +00:00
parent 92938acdf0
commit 83e2b3d547

View file

@ -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])
{