Revision: 14827
          http://sourceforge.net/p/skim-app/code/14827
Author:   hofman
Date:     2024-12-11 16:40:50 +0000 (Wed, 11 Dec 2024)
Log Message:
-----------
change order of code

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-12-11 15:46:58 UTC (rev 14826)
+++ trunk/SKMainWindowController.m      2024-12-11 16:40:50 UTC (rev 14827)
@@ -2700,11 +2700,11 @@
                 [pdfView updatedAnnotation:note forKey:keyPath 
fromValue:oldValue];
                 [secondaryPdfView updatedAnnotation:note];
                 
+                if ([self interactionMode] == SKPresentationMode && 
[presentationView page] == page)
+                    [presentationView setNeedsDisplay:YES];
+                
                 if ([keyPath isEqualToString:SKNPDFAnnotationBoundsKey] && 
note == [pdfView currentAnnotation] && [[NSUserDefaults standardUserDefaults] 
boolForKey:SKDisplayNoteBoundsKey])
                     [self updateRightStatus];
-                
-                if ([self interactionMode] == SKPresentationMode && 
[presentationView page] == page)
-                    [presentationView setNeedsDisplay:YES];
             }
             
             if (mwcFlags.autoResizeNoteRows) {
@@ -2758,7 +2758,7 @@
                 }
             }
         }
-
+        
     } else {
         [super observeValueForKeyPath:keyPath ofObject:object change:change 
context: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