mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
By popular demand, the zoom button will now zoom to the exact size for torrents (or the minimum window size).
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user