Revision: 16377
          http://sourceforge.net/p/skim-app/code/16377
Author:   hofman
Date:     2026-06-09 15:12:36 +0000 (Tue, 09 Jun 2026)
Log Message:
-----------
no need to update display when changed note is not on a displayed page

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-06-08 22:25:52 UTC (rev 16376)
+++ trunk/SKPDFView.m   2026-06-09 15:12:36 UTC (rev 16377)
@@ -2894,6 +2894,8 @@
 }
 
 - (void)updatedAnnotation:(PDFAnnotation *)annotation forKey:(NSString *)key 
fromValue:(id)oldValue {
+    if ([self isPageAtIndexDisplayed:[annotation pageIndex]] == NO)
+        return;
     if ([annotation isNote] && key) {
         // image does not notify automatically because it does not use the 
annotationKeyValues
         if ([key isEqualToString:SKNPDFAnnotationImageKey]) {

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