Revision: 6988
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6988&view=rev
Author:   hofman
Date:     2010-12-18 00:03:10 +0000 (Sat, 18 Dec 2010)

Log Message:
-----------
don't try to change annotation when no change needed

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2010-12-17 22:40:34 UTC (rev 6987)
+++ trunk/SKPDFView.m   2010-12-18 00:03:10 UTC (rev 6988)
@@ -3235,7 +3235,8 @@
     }
     
     if (newActiveAnnotation || isInk == NO || hideNotes || page == nil) {
-        [self setActiveAnnotation:newActiveAnnotation];
+        if (newActiveAnnotation != activeAnnotation)
+            [self setActiveAnnotation:newActiveAnnotation];
         
         if ([newActiveAnnotation isLink]) {
             [self doSelectLinkAnnotationWithEvent:theEvent];


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

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to