Revision: 29119 http://sourceforge.net/p/bibdesk/svn/29119 Author: hofman Date: 2025-04-17 14:31:21 +0000 (Thu, 17 Apr 2025) Log Message: ----------- update comment
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-17 14:29:18 UTC (rev 29118) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-17 14:31:21 UTC (rev 29119) @@ -1239,7 +1239,7 @@ // guess the iconScale, ignoring the rounding of the variable padding as that can't be inverted CGFloat iconScale = fmax( MIN_AUTO_ICON_SCALE, ( rowHeight - DEFAULT_PADDING.height - [self _textHeight] ) / ( DEFAULT_ICON_SIZE.height + PADDING_STRETCH ) ); _padding = [self _paddingForScale:iconScale]; - // recalculate exactly based on this padding, inverting the calculation in _frameHeight + // recalculate exactly based on this padding iconScale = fmax( MIN_AUTO_ICON_SCALE, floor( rowHeight - _padding.height ) / DEFAULT_ICON_SIZE.height ); _iconSize = NSMakeSize(iconScale * DEFAULT_ICON_SIZE.width, iconScale * DEFAULT_ICON_SIZE.height); } 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