Changeset 656


Ignore:
Timestamp:
Jul 22, 2006, 4:49:59 PM (16 years ago)
Author:
livings124
Message:

Don't allow window zooming if set to auto resize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r655 r656  
    21212121- (NSRect) windowWillUseStandardFrame: (NSWindow *) window defaultFrame: (NSRect) defaultFrame
    21222122{
     2123    //don't resize if set to auto size
     2124    if ([fDefaults boolForKey: @"AutoSize"])
     2125        return [fWindow frame];
     2126
    21232127    NSRect windowRect = [fWindow frame];
    21242128    float newHeight = windowRect.size.height - [fScrollView frame].size.height
Note: See TracChangeset for help on using the changeset viewer.