Revision: 29160
          http://sourceforge.net/p/bibdesk/svn/29160
Author:   hofman
Date:     2025-04-21 15:20:59 +0000 (Mon, 21 Apr 2025)
Log Message:
-----------
don't use a local variable

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

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-21 
15:19:27 UTC (rev 29159)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-21 
15:20:59 UTC (rev 29160)
@@ -2417,8 +2417,7 @@
 {
     BOOL drawView = (drawOption & FVDrawSelected) == 0;
     BOOL isResizing = drawView && ([self inLiveResize] || 
_fvFlags.isRescaling);
-    BOOL isSmallIcon = _iconSize.height <= 256;
-
+    
     NSUInteger r, rMin = rows.location, rMax = NSMaxRange(rows);
     NSUInteger c, cMin = columns.location, cMax = NSMaxRange(columns);
     NSUInteger i;
@@ -2432,7 +2431,7 @@
         CGContextSetInterpolationQuality(cgContext, kCGInterpolationNone);
         CGContextSetShouldAntialias(cgContext, false);
     }
-    else if (isSmallIcon) {
+    else if (_iconSize.height <= 256) {
         CGContextSetInterpolationQuality(cgContext, kCGInterpolationDefault);
         CGContextSetShouldAntialias(cgContext, true);
     }
@@ -2443,7 +2442,7 @@
             
     // we should use the fast path when scrolling at small sizes; PDF sucks in 
that case...
     
-    BOOL useFastDrawingPath = (isResizing || ([self _isFastScrolling] && 
isSmallIcon));
+    BOOL useFastDrawingPath = (isResizing || ([self _isFastScrolling] && 
_iconSize.height <= 256));
     
     // redraw at high quality after scrolling
     if (useFastDrawingPath && NO == _fvFlags.scheduledEndFastScroling && [self 
_isFastScrolling]) {

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