Revision: 29139
          http://sourceforge.net/p/bibdesk/svn/29139
Author:   hofman
Date:     2025-04-19 15:59:34 +0000 (Sat, 19 Apr 2025)
Log Message:
-----------
Used wrong rrounding of padding, integral not even integral.

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-19 
15:37:43 UTC (rev 29138)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-19 
15:59:34 UTC (rev 29139)
@@ -1163,7 +1163,7 @@
 {
     NSSize size = DEFAULT_PADDING;
     // ??? magic number here... using a fixed padding looked funny at some 
sizes, so this is now adjustable
-    CGFloat extraPadding = 2 * round( PADDING_STRETCH * scale / 2 );
+    CGFloat extraPadding = round( PADDING_STRETCH * scale );
     size.width += extraPadding;
     size.height += extraPadding + [self _textHeight];
     return size;

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