Revision: 13183 http://sourceforge.net/p/skim-app/code/13183 Author: hofman Date: 2022-11-21 15:27:04 +0000 (Mon, 21 Nov 2022) Log Message: ----------- pass lineWidth rather than scale
Modified Paths: -------------- trunk/PDFAnnotationInk_SKExtensions.m Modified: trunk/PDFAnnotationInk_SKExtensions.m =================================================================== --- trunk/PDFAnnotationInk_SKExtensions.m 2022-11-21 15:26:19 UTC (rev 13182) +++ trunk/PDFAnnotationInk_SKExtensions.m 2022-11-21 15:27:04 UTC (rev 13183) @@ -353,11 +353,10 @@ - (void)drawSelectionHighlightWithLineWidth:(CGFloat)lineWidth active:(BOOL)active inContext:(CGContextRef)context { if (NSIsEmptyRect([self bounds]) == NO && [self isSkimNote]) { - CGFloat scale = 1.0 / lineWidth; if (CGContextGetBaseCTM_func != NULL) - [self drawShadowWithScale:scale inContext:context]; + [self drawShadowWithLineWidth:lineWidth inContext:context]; else - [self drawFallbackShadowWithScale:scale inContext:context]; + [self drawFallbackShadowWithLineWidth:lineWidth inContext:context]; } [super drawSelectionHighlightWithLineWidth:lineWidth active:active inContext:context]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit