Revision: 6638
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6638&view=rev
Author:   hofman
Date:     2010-07-22 17:01:42 +0000 (Thu, 22 Jul 2010)

Log Message:
-----------
no need to reset alpha value twice

Modified Paths:
--------------
    trunk/SKFullScreenWindow.m

Modified: trunk/SKFullScreenWindow.m
===================================================================
--- trunk/SKFullScreenWindow.m  2010-07-21 12:02:29 UTC (rev 6637)
+++ trunk/SKFullScreenWindow.m  2010-07-22 17:01:42 UTC (rev 6638)
@@ -93,7 +93,6 @@
 - (void)fadeOutBlocking:(BOOL)block {
     if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKDisableAnimationsKey]) {
         [self orderOut:nil];
-        [self setAlphaValue:1.0];
     } else {
         NSDictionary *fadeOutDict = [[NSDictionary alloc] 
initWithObjectsAndKeys:self, NSViewAnimationTargetKey, 
NSViewAnimationFadeOutEffect, NSViewAnimationEffectKey, nil];
         animation = [[NSViewAnimation alloc] initWithViewAnimations:[NSArray 
arrayWithObjects:fadeOutDict, nil]];
@@ -109,7 +108,6 @@
 
 - (void)fadeInBlocking:(BOOL)block {
     if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKDisableAnimationsKey]) {
-        [self setAlphaValue:1.0];
         [self orderFront:nil];
     } else {
         NSDictionary *fadeInDict = [[NSDictionary alloc] 
initWithObjectsAndKeys:self, NSViewAnimationTargetKey, 
NSViewAnimationFadeInEffect, NSViewAnimationEffectKey, nil];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to