Revision: 5494
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5494&view=rev
Author:   hofman
Date:     2009-07-17 12:21:45 +0000 (Fri, 17 Jul 2009)

Log Message:
-----------
don't use extra hitttest area for ends of freehand note

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

Modified: trunk/PDFAnnotationInk_SKExtensions.m
===================================================================
--- trunk/PDFAnnotationInk_SKExtensions.m       2009-07-17 11:16:32 UTC (rev 
5493)
+++ trunk/PDFAnnotationInk_SKExtensions.m       2009-07-17 12:21:45 UTC (rev 
5494)
@@ -127,7 +127,7 @@
             for (i = 0; i < iMax; i++) {
                 prevPoint = nextPoint;
                 nextPoint = [path associatedPointForElementAtIndex:i];
-                if (i > 0 && SKPointNearLineFromPointToPoint(relPoint, 
prevPoint, nextPoint, 4.0, delta))
+                if (i > 0 && SKPointNearLineFromPointToPoint(relPoint, 
prevPoint, nextPoint, delta, delta))
                     return YES;
             }
         }


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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to