[[NSColor blackColor] set];
[shadowPath fill];
-
- [[NSColor colorWithCalibratedRed: 0.0 green: 0.0 blue: 0.0 alpha:0.7] set];
- [shadowPath stroke];
[shadowPath addClip];
}
@end
[[window() contentView] addSubview:view];
} else {
NSView* frameView = [[window() contentView] superview];
- [view setFrame:[frameView bounds]];
AtomFramelessView * shadowView = [[AtomFramelessView alloc] initWithFrame: [frameView bounds]];
+ [shadowView setAutoresizesSubviews:YES];
+ [shadowView setAutoresizingMask: NSViewWidthSizable | NSViewHeightSizable];
+ [view setFrame:[shadowView bounds]];
[frameView addSubview:shadowView];
[shadowView addSubview:view];