mirror of
https://github.com/transmission/transmission
synced 2025-02-03 21:12:05 +00:00
fix visual glitch when toggling minimal view
This commit is contained in:
parent
ea44f890c4
commit
1537005b30
1 changed files with 5 additions and 0 deletions
|
@ -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];
|
[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
|
//window min height
|
||||||
NSSize contentMinSize = [fWindow contentMinSize],
|
NSSize contentMinSize = [fWindow contentMinSize],
|
||||||
contentSize = [[fWindow contentView] frame].size;
|
contentSize = [[fWindow contentView] frame].size;
|
||||||
|
|
Loading…
Reference in a new issue