mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
187090ff6a
commit
737245ac31
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue