Revision: 16229
http://sourceforge.net/p/skim-app/code/16229
Author: hofman
Date: 2026-05-05 21:41:43 +0000 (Tue, 05 May 2026)
Log Message:
-----------
make row height integral
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2026-05-05 16:40:27 UTC (rev 16228)
+++ trunk/SKMainWindowController_UI.m 2026-05-05 21:41:43 UTC (rev 16229)
@@ -587,7 +587,7 @@
}
if (thumbSize.height <= rowHeight)
return rowHeight;
- return fmax(rowHeight, fmin(thumbHeight, fmin(thumbSize.height, [[tv
tableColumnWithIdentifier:IMAGE_COLUMNID] width] * thumbSize.height /
thumbSize.width)));
+ return fmax(rowHeight, fmin(thumbHeight, fmin(thumbSize.height, ceil([[tv
tableColumnWithIdentifier:IMAGE_COLUMNID] width] * thumbSize.height /
thumbSize.width))));
}
- (NSArray *)tableView:(NSTableView *)tv rowActionsForRow:(NSInteger)row
edge:(NSTableRowActionEdge)edge {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit