Revision: 14580
          http://sourceforge.net/p/skim-app/code/14580
Author:   hofman
Date:     2024-10-24 17:47:11 +0000 (Thu, 24 Oct 2024)
Log Message:
-----------
Check just for 'text' key to ignore for display updaate rather than all 
relevant anchored note keys

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-10-24 17:28:52 UTC (rev 14579)
+++ trunk/SKMainWindowController.m      2024-10-24 17:47:11 UTC (rev 14580)
@@ -2695,7 +2695,7 @@
                 return;
             
             // Update the UI, we should always do that unless the value did 
not really change or we're just changing the mod date or user name
-            if ([keyPath isEqualToString:SKNPDFAnnotationModificationDateKey] 
== NO && [keyPath isEqualToString:SKNPDFAnnotationUserNameKey] == NO && ([[note 
type] isEqualToString:SKNNoteString] == NO || [keyPath 
isEqualToString:SKNPDFAnnotationBoundsKey] || [keyPath 
isEqualToString:SKNPDFAnnotationColorKey] || [keyPath 
isEqualToString:SKNPDFAnnotationIconTypeKey] || [keyPath 
isEqualToString:SKNPDFAnnotationImageKey] || [keyPath 
isEqualToString:SKNPDFAnnotationDrawsImageKey])) {
+            if ([keyPath isEqualToString:SKNPDFAnnotationModificationDateKey] 
== NO && [keyPath isEqualToString:SKNPDFAnnotationUserNameKey] == NO && 
[keyPath isEqualToString:SKNPDFAnnotationTextKey] == NO) {
                 PDFPage *page = [note page];
                 NSRect oldRect = NSZeroRect;
                 if ([keyPath isEqualToString:SKNPDFAnnotationBoundsKey] && 
[oldValue isEqual:[NSNull null]] == NO) {

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