mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
one more tweak
This commit is contained in:
parent
23b652d2bc
commit
123c8e72ce
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@
|
|||
|
||||
[fLock lock];
|
||||
|
||||
NSUInteger currentIndex = [fMessages count] > 0 ? [[[fMessages lastObject] objectForKey: @"Index"] unsignedIntegerValue] : 0;
|
||||
NSUInteger currentIndex = [fMessages count] > 0 ? ([[[fMessages lastObject] objectForKey: @"Index"] unsignedIntegerValue] + 1) : 0;
|
||||
|
||||
NSScroller * scroller = [[fMessageTable enclosingScrollView] verticalScroller];
|
||||
const BOOL shouldScroll = currentIndex == 0 || [scroller floatValue] == 1.0 || [scroller isHidden]
|
||||
|
|
Loading…
Add table
Reference in a new issue