fix a mistake I made that caused the drawer to not resize properly

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29038 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2009-11-19 16:28:29 +00:00
parent 187090ff6a
commit 737245ac31

View file

@ -327,9 +327,9 @@ static NSNotificationCenter *nc = nil;
// prepare drawer contents before sliding...
NSRect frame = [self frameFromParentWindowFrameInState:NSDrawerOpenState];
[self setFrame:frame display: YES]; // make sure it's the full (open) size before locking the borderBox
[self lockBorderBoxForSliding];
if ([_parentWindow isVisible]) // don't order front until parent window is visible
{
[self lockBorderBoxForSliding];
[self orderFront: self];
[self slideOpen:YES];
[self performSelector:@selector(unlockBorderBoxAfterSliding) withObject:nil afterDelay:0.01];