From 0adb83c07a131fa869fe3c20ad8338c747ace4c0 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 13 Jul 2006 00:24:18 +0000 Subject: [PATCH] By popular demand, the zoom button will now zoom to the exact size for torrents (or the minimum window size). --- macosx/Controller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 9a029afb2..032b17f9d 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1851,7 +1851,7 @@ static void sleepCallBack(void * controller, io_service_t y, { NSRect windowRect = [fWindow frame]; float newHeight = windowRect.size.height - [fScrollView frame].size.height - + [fFilteredTorrents count] * ([fTableView rowHeight] + [fTableView intercellSpacing].height) + 30.0; + + [fFilteredTorrents count] * ([fTableView rowHeight] + [fTableView intercellSpacing].height); float minHeight = [fWindow minSize].height; if (newHeight < minHeight)