Revision: 25318 http://sourceforge.net/p/bibdesk/svn/25318 Author: hofman Date: 2021-01-05 16:57:06 +0000 (Tue, 05 Jan 2021) Log Message: ----------- get alias badge layer for pixel size rather than point size
Modified Paths: -------------- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon_Private.m Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon_Private.m =================================================================== --- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon_Private.m 2021-01-05 16:55:08 UTC (rev 25317) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon_Private.m 2021-01-05 16:57:06 UTC (rev 25318) @@ -215,7 +215,7 @@ - (void)_badgeIconInRect:(NSRect)dstRect ofContext:(CGContextRef)context; { - CGContextDrawLayerInRect(context, NSRectToCGRect(dstRect), [FVAliasBadge aliasBadgeWithSize:dstRect.size]); + CGContextDrawLayerInRect(context, NSRectToCGRect(dstRect), [FVAliasBadge aliasBadgeWithSize:FVSizeForRectInContext(dstRect, context)]); } // handles centering and aspect ratio, since most of our icons have weird sizes, but they'll be drawn in a square box This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit