Revision: 14792
          http://sourceforge.net/p/skim-app/code/14792
Author:   hofman
Date:     2024-12-08 17:42:10 +0000 (Sun, 08 Dec 2024)
Log Message:
-----------
Only need to redraw when changing bounds, line width only affects the note 
itself which we don't explicitly redraw

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-12-08 17:24:03 UTC (rev 14791)
+++ trunk/SKMainWindowController.m      2024-12-08 17:42:10 UTC (rev 14792)
@@ -2706,7 +2706,7 @@
                     }
                 }
                 
-                [pdfView setNeedsDisplay:([keyPath 
isEqualToString:SKNPDFAnnotationBorderKey] || NSIsEmptyRect(oldRect) == NO) 
forAnnotation:note fromRect:oldRect];
+                [pdfView setNeedsDisplay:[keyPath 
isEqualToString:SKNPDFAnnotationBorderKey] forAnnotation:note fromRect:oldRect];
                 [secondaryPdfView setNeedsDisplayForAnnotation:note];
                 
                 if ([keyPath isEqualToString:SKNPDFAnnotationBoundsKey]) {

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