Add spaces

This commit is contained in:
Gregory John Casamento 2023-01-10 02:14:49 -05:00
parent 0f650158a8
commit e87e48a4b2

View file

@ -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;