Changeset 4879

Show
Ignore:
Timestamp:
08/23/07 10:26:11 (11 months ago)
Author:
morris
Message:

Still pick up that we moved backwards and should reposition the scroller when we move one full spread up instead of just one row

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/FHBrowserController.m

    r4875 r4879  
    13171317- (void)tableViewSelectionDidChange:(NSNotification *)notification { 
    13181318        FHFile                  *file; 
    1319         NSInteger               row
     1319        NSInteger               row, previousRow
    13201320 
    13211321        row = [_tableView selectedRow]; 
     
    13241324        [self startLoadingImageForFile:file atIndex:row]; 
    13251325        [self showFile:file]; 
    1326          
    1327         if(!_switchingURL && row == _previousRow - 1) { 
     1326 
     1327        if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone) 
     1328                previousRow = _previousRow - 1; 
     1329        else 
     1330                previousRow = _previousRow - 2; 
     1331         
     1332        if(!_switchingURL && row == previousRow) { 
    13281333                if([_scrollView hasVerticalScroller]) 
    13291334                        [_imageView scrollPoint:NSZeroPoint];