Browse Source

Merge branch 'compdfkit_demo_ios' of http://git.kdan.cc:8865/Others/kmpdfkit_demo into compdfkit_demo_ios

dinglingui 1 year ago
parent
commit
005651c0b7

+ 1 - 1
compdfkit-tools/compdfkit-tools/Common/Views/PDFProperties/CPDFAnnotationSampleView.m

@@ -248,7 +248,7 @@
             CGFloat dashLengths[2] = {6, self.dotted};
             CGContextSetLineDash(context, 0, dashLengths, 2);
             CGContextMoveToPoint(context, CGRectGetMinX(self.centerRect), CGRectGetMinY(self.centerRect));
-            CGContextAddLineToPoint(context, CGRectGetMaxX(self.centerRect), CGRectGetMinY(self.centerRect));
+            CGContextAddLineToPoint(context, CGRectGetMaxX(self.centerRect)+0.3, CGRectGetMinY(self.centerRect));
             CGContextAddLineToPoint(context, CGRectGetMaxX(self.centerRect), CGRectGetMaxY(self.centerRect));
             CGContextAddLineToPoint(context, CGRectGetMinX(self.centerRect), CGRectGetMaxY(self.centerRect));
             CGContextAddLineToPoint(context, CGRectGetMinX(self.centerRect), CGRectGetMinY(self.centerRect));