1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 13:03:50 +00:00

fix visual glitch when toggling minimal view

This commit is contained in:
Mitchell Livingston 2008-01-24 14:43:50 +00:00
parent ea44f890c4
commit 1537005b30

View file

@ -2634,6 +2634,11 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[fTableView setRowHeight: makeSmall ? ROW_HEIGHT_SMALL : ROW_HEIGHT_REGULAR];
//non-group rows are being resized
NSMutableIndexSet * indexes = [NSMutableIndexSet indexSetWithIndexesInRange: NSMakeRange(0, [fTableView numberOfRows])];
[indexes removeIndexes: fDisplayedGroupIndexes];
[fTableView noteHeightOfRowsWithIndexesChanged: indexes];
//window min height
NSSize contentMinSize = [fWindow contentMinSize],
contentSize = [[fWindow contentView] frame].size;