mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Add spaces
This commit is contained in:
parent
0f650158a8
commit
e87e48a4b2
1 changed files with 2 additions and 2 deletions
|
@ -348,9 +348,9 @@ static NSNotificationCenter *nc = nil;
|
|||
{
|
||||
NSUInteger count = 10;
|
||||
NSRect frame = [self frameFromParentWindowFrameInState:
|
||||
(opening?NSDrawerClosedState:NSDrawerOpenState)];
|
||||
(opening ? NSDrawerClosedState : NSDrawerOpenState)];
|
||||
NSRect newFrame = [self frameFromParentWindowFrameInState:
|
||||
(opening?NSDrawerOpenState:NSDrawerClosedState)];
|
||||
(opening ? NSDrawerOpenState : NSDrawerClosedState)];
|
||||
NSTimeInterval slideDelay = 0.03;
|
||||
NSDate *nextStop = [NSDate dateWithTimeIntervalSinceNow:slideDelay];
|
||||
CGFloat deltaX = (newFrame.origin.x - frame.origin.x) / count;
|
||||
|
|
Loading…
Reference in a new issue