Ignore:
Timestamp:
Oct 12, 2009, 3:15:37 AM (13 years ago)
Author:
livings124
Message:

don't zoom in/out the QL window if the corresponding row isn't visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r9301 r9304  
    11781178        {
    11791179            NSRect frame = [fileOutlineView iconRectForRow: row];
     1180           
     1181            if (!NSIntersectsRect([fileOutlineView visibleRect], frame))
     1182                return NSZeroRect;
     1183           
    11801184            frame.origin = [fileOutlineView convertPoint: frame.origin toView: nil];
    11811185            frame.origin = [[self window] convertBaseToScreen: frame.origin];
Note: See TracChangeset for help on using the changeset viewer.