Revision: 25473
          http://sourceforge.net/p/bibdesk/svn/25473
Author:   hofman
Date:     2021-01-22 22:54:42 +0000 (Fri, 22 Jan 2021)
Log Message:
-----------
Don't scale page rect twice

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m       2021-01-22 
22:39:43 UTC (rev 25472)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m       2021-01-22 
22:54:42 UTC (rev 25473)
@@ -418,7 +418,7 @@
         CGContextRef ctxt = [[FVBitmapContext 
bitmapContextWithSize:_thumbnailSize] graphicsPort];
 
         // set a white page background
-        CGRect pageRect = CGRectMake(0, 0, _thumbnailSize.width/ 
FVDefaultScale, _thumbnailSize.height / FVDefaultScale );
+        CGRect pageRect = CGRectMake(0, 0, _thumbnailSize.width, 
_thumbnailSize.height);
         CGContextDrawLayerInRect(ctxt, pageRect, _pageLayer);
         
         if (_pdfPage && _isLocked == NO) {

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

Reply via email to