Revision: 7109
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7109&view=rev
Author:   hofman
Date:     2011-02-15 10:27:50 +0000 (Tue, 15 Feb 2011)

Log Message:
-----------
check correct annotation mode variable for adding new note

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2011-02-14 22:33:26 UTC (rev 7108)
+++ trunk/SKPDFView.m   2011-02-15 10:27:50 UTC (rev 7109)
@@ -1752,7 +1752,7 @@
             bounds = NSInsetRect(bounds, -5.0, -5.0);
         else if (annotationType == SKAnchoredNote)
             bounds.size = SKNPDFAnnotationNoteSize;
-       } else if (ANNOTATION_MODE_IS_MARKUP == NO) {
+       } else if (annotationType != SKHighlightNote && annotationType != 
SKUnderlineNote && annotationType != SKStrikeOutNote) {
         
                // First try the current mouse position
         NSPoint center = [self convertPoint:point fromView:nil];


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

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to