Revision: 13781
          http://sourceforge.net/p/skim-app/code/13781
Author:   hofman
Date:     2023-11-19 18:07:23 +0000 (Sun, 19 Nov 2023)
Log Message:
-----------
don't disable flush window for page transition, it does not do anything anyway

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

Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m      2023-11-19 17:18:50 UTC (rev 13780)
+++ trunk/SKTransitionController.m      2023-11-19 18:07:23 UTC (rev 13781)
@@ -454,12 +454,8 @@
         
         animating = YES;
         
-        NSWindow *viewWindow = [view window];
         CIImage *initialImage = [self currentImageForRect:rect scale:NULL];
         
-        // We don't want the window to draw the next state before the 
animation is run
-        [viewWindow disableFlushWindow];
-        
         NSRect toRect = change();
 
         NSRect bounds = [view bounds];
@@ -477,9 +473,6 @@
         
         // Update the view and its window, so it shows the correct state when 
it is shown.
         [view display];
-        // Remember we disabled flushing in the previous method, we need to 
balance that.
-        [viewWindow enableFlushWindow];
-        [viewWindow flushWindow];
         
         [transitionView setFilter:transitionFilter];
         [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context){

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to