Revision: 6694
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6694&view=rev
Author:   hofman
Date:     2010-08-11 09:21:26 +0000 (Wed, 11 Aug 2010)

Log Message:
-----------
set dash pattern before setting border style, because setting the dash pattern 
may change the style.

Modified Paths:
--------------
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.m

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2010-08-11 00:33:56 UTC 
(rev 6693)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2010-08-11 09:21:26 UTC 
(rev 6694)
@@ -199,10 +199,10 @@
                     [self setBorder:[[[PDFBorder alloc] init] autorelease]];
                 if ([lineWidth respondsToSelector:@selector(floatValue)])
                     [[self border] setLineWidth:[lineWidth floatValue]];
+                if ([dashPattern isKindOfClass:arrayClass])
+                    [[self border] setDashPattern:dashPattern];
                 if ([borderStyle respondsToSelector:@selector(intValue)])
                     [[self border] setStyle:[borderStyle intValue]];
-                if ([dashPattern isKindOfClass:arrayClass])
-                    [[self border] setDashPattern:dashPattern];
             }
         }
         


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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to